-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance code reusability for the compiler backends
After observing ARM and RISC-V backends, the instruction sequences of load and global load operations are very similar, and both of them just use a different register for two instructions. A similar situation occurs for store and global store operations. Therefore, this commit improves the compiler backends to reuse the same code more efficiently.
- Loading branch information
Showing
2 changed files
with
28 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters