[llvm] [RISCV] Remove vmv.s.x and vmv.x.s lmul pseudo variants (PR #71501)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 15 22:07:59 PST 2023


================
@@ -8,7 +8,7 @@
 define signext i8 @extractelt_nxv1i8_0(<vscale x 1 x i8> %v) {
 ; CHECK-LABEL: extractelt_nxv1i8_0:
 ; CHECK:       # %bb.0:
-; CHECK-NEXT:    vsetivli zero, 1, e8, mf8, ta, ma
+; CHECK-NEXT:    vsetivli zero, 1, e8, m1, ta, ma
----------------
lukel97 wrote:

I tried out defaulting to mf8 for vmv.s.x and vmv.x.s here https://github.com/lukel97/llvm-project/commit/59bd2221c1970f5c1254d26196c6990978b88751, and then rebasing this branch on top of it here https://github.com/lukel97/llvm-project/commit/1097e21545607d3aaaa00f821127d666f3da9ac2

Doing it this way moves most of the test diffs into that prior commit, but we still see the same missing vsetvli transforms etc. in it

https://github.com/llvm/llvm-project/pull/71501


More information about the llvm-commits mailing list