Define vle/vse intrinsics and lower to V instructions.
We work with @rogfer01 from BSC to come out this patch.
Authored-by: Roger Ferrer Ibanez <rofirrim@gmail.com>
Co-Authored-by: Zakk Chen <zakk.chen@sifive.com>
| Paths 
 |  Differential  D93359  
[RISCV] Define vle/vse intrinsics. ClosedPublic Authored by khchen on Dec 15 2020, 7:01 PM. 
Details Summary Define vle/vse intrinsics and lower to V instructions. We work with @rogfer01 from BSC to come out this patch. Authored-by: Roger Ferrer Ibanez <rofirrim@gmail.com> 
Diff Detail 
 Event TimelineHerald added subscribers: NickHung, luismarques, apazos and 24 others.  ·  View Herald TranscriptDec 15 2020, 7:01 PM liaolucy added inline comments. 
 
 
 khchen added inline comments. 
 This revision is now accepted and ready to land.Dec 16 2020, 10:28 AM This revision was landed with ongoing or failed builds.Dec 16 2020, 6:08 PM Closed by commit rGc1d6d461aa77: [RISCV] Define vle/vse intrinsics. (authored by khchen).  ·  Explain Why This revision was automatically updated to reflect the committed changes. khchen marked an inline comment as done. 
Revision Contents 
 
 
Diff 312087 llvm/include/llvm/IR/IntrinsicsRISCV.td
 llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
 llvm/test/CodeGen/RISCV/rvv/vle-rv32.ll
 
 llvm/test/CodeGen/RISCV/rvv/vle-rv64.ll
 
 llvm/test/CodeGen/RISCV/rvv/vse-rv32.ll
 
 llvm/test/CodeGen/RISCV/rvv/vse-rv64.ll
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There are two variants of intrinsics regarding to vl, https://github.com/riscv/rvv-intrinsic-doc/blob/master/rvv-intrinsic-rfc.md#vl-argument
Any suggestions for implementing implicit vl intrinsics? What existing code can be reused?