[PATCH] D120008: [RISCV][NFC] Add some tail agnostic tests for nomask operations.

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 16 23:20:03 PST 2022


rogfer01 accepted this revision.
rogfer01 added a comment.
This revision is now accepted and ready to land.

LGTM. Thanks @khchen!



================
Comment at: llvm/test/CodeGen/RISCV/rvv/unmasked-ta.ll:1124
+; RV32-NEXT:    sw a0, 8(sp)
+; RV32-NEXT:    vsetvli zero, a2, e64, m1, ta, mu
+; RV32-NEXT:    addi a0, sp, 8
----------------
For those who care about RV32V I wonder if `vslidedown.vi ..., 2` followed by two `vslide1up.vx` could be used here so we avoid the load and the merge (maybe it is not faster after all).

No need to fix it in this change, of course.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120008/new/

https://reviews.llvm.org/D120008



More information about the llvm-commits mailing list