Support vector_reverse mask operation. Widen i1 element type to i8, then reverse it, finally truncate result.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D128627  
[RISCV] Support VECTOR_REVERSE mask operation. ClosedPublic Authored by Jimerlife on Jun 27 2022, 2:06 AM. 
Details Summary Support vector_reverse mask operation. Widen i1 element type to i8, then reverse it, finally truncate result. 
Diff Detail 
 Event TimelineHerald added subscribers: llvm-commits, • pcwang-thead, eopXD and 2 others.  ·  View Herald TranscriptJun 27 2022, 2:06 AM This revision is now accepted and ready to land.Jun 27 2022, 9:25 AM Comment Actions 
 I am not familiar with cost model, but I can try to do this. This revision was landed with ongoing or failed builds.Jun 28 2022, 12:58 AM Closed by commit rG96ab083622f5: [RISCV] Support VECTOR_REVERSE mask operation. (authored by Jimerlife).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 440514 llvm/lib/Target/RISCV/RISCVISelLowering.cpp
 
 llvm/test/CodeGen/RISCV/rvv/named-vector-shuffle-reverse.ll
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||