forked from ruyisdk/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LLVM][RVV 0.7.1] Emulate vector register whole load/store, and fix p…
…otential instruction selection bugs (ruyisdk#23) * [LLVM][RVV 0.7.1] Strictly distinguish RVV versions in TableGen files * [LLVM][RVV 0.7.1] Start emulating register whole load/store * [LLVM][RVV 0.7.1] All use `XVSE_V` * [LLVM][RVV 0.7.1] Start expanding whole load/store pseudos * [LLVM][RVV 0.7.1] Expand whole load * [LLVM][RVV 0.7.1] Correctly expand whole load! ``` vl<LMUL>re<SEW>.v vd, (rs1) ``` is expanded to ``` csrr t5, vl csrr t6, vtype vsetvli x0, x0, e<SEW>, m<LMUL> vle.v vd, (rs1) vsetvl x0, t5, t6 ``` * [LLVM][RVV 0.7.1] Correctly expand whole store! ``` vs<LMUL>r.v vd, (rs1) ``` is expanded to ``` csrr t5, vl csrr t6, vtype vsetvli x0, x0, e<SEW>, m<LMUL> vse.v vd, (rs1) vsetvl x0, t5, t6 ``` * [LLVM][RVV 0.7.1] Extract common part * [LLVM][RVV 0.7.1] Make lowering easier * [LLVM][RVV 0.7.1] Remove unnecessary changes * [LLVM][RVV 0.7.1] Test whole load/store for M1 cases
- Loading branch information
Showing
9 changed files
with
427 additions
and
22 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
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
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
Oops, something went wrong.