[llvm] [RISCV] Split and rename WriteVISlideX into WriteVSlideUpX and WriteVSlideDownX (PR #92605)
Pengcheng Wang via llvm-commits
llvm-commits at lists.llvm.org
Mon May 20 21:09:35 PDT 2024
================
@@ -6861,8 +6863,8 @@ let mayLoad = 0, mayStore = 0, hasSideEffects = 0 in {
// 16.3. Vector Slide Instructions
//===----------------------------------------------------------------------===//
let Predicates = [HasVInstructions] in {
- defm PseudoVSLIDEUP : VPseudoVSLD_VX_VI<uimm5, "@earlyclobber $rd">;
- defm PseudoVSLIDEDOWN : VPseudoVSLD_VX_VI<uimm5>;
+ defm PseudoVSLIDEUP : VPseudoVSLD_VX_VI<uimm5, /*slidesUp=*/true, "@earlyclobber $rd">;
----------------
wangpc-pp wrote:
You can just use `slidesUp=true` here.
https://llvm.org/docs/TableGen/ProgRef.html#record-bodies
https://github.com/llvm/llvm-project/pull/92605
More information about the llvm-commits
mailing list