This patch does the following things:
1, Add accurate Predicates in intrinsic-pseudo pattern class depending on the vector type.
2, Make vmulh, vmulhsu, vmulhu and vsmul intrinsic only able to select in v extension.
Paths
| Differential D150550
[RISCV] Refactor predicates for rvv intrinsic patterns. ClosedPublic Authored by jacquesguan on May 15 2023, 2:24 AM.
Details Summary This patch does the following things: 1, Add accurate Predicates in intrinsic-pseudo pattern class depending on the vector type.
Diff Detail
Event Timeline
jacquesguan added inline comments.
This revision is now accepted and ready to land.May 16 2023, 5:57 PM Closed by commit rG9360926cfcd3: [RISCV] Refactor predicates for rvv intrinsic patterns. (authored by jacquesguan). · Explain WhyMay 16 2023, 6:48 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 522876 llvm/lib/Target/RISCV/RISCVFeatures.td
llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
llvm/lib/Target/RISCV/RISCVSubtarget.h
llvm/test/CodeGen/RISCV/rvv/vmul.ll
llvm/test/CodeGen/RISCV/rvv/vmulh.ll
llvm/test/CodeGen/RISCV/rvv/vmulhsu.ll
llvm/test/CodeGen/RISCV/rvv/vmulhu.ll
llvm/test/CodeGen/RISCV/rvv/vsmul-rv32.ll
llvm/test/CodeGen/RISCV/rvv/vsmul-rv64.ll
|
Multify -> Multiply