[llvm] [RISCV] Use a ta vslideup if inserting over end of InterSubVT (PR #83230)

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 23:27:56 PST 2024


================
@@ -474,7 +474,7 @@ define <vscale x 6 x half> @extract_nxv6f16_nxv12f16_6(<vscale x 12 x half> %in)
 ; CHECK-NEXT:    vsetvli a1, zero, e16, m1, ta, ma
 ; CHECK-NEXT:    vslidedown.vx v12, v9, a0
 ; CHECK-NEXT:    add a1, a0, a0
-; CHECK-NEXT:    vsetvli zero, a1, e16, m1, tu, ma
+; CHECK-NEXT:    vsetvli zero, a1, e16, m1, ta, ma
----------------
wangpc-pp wrote:

Why is this vsetvli not eliminated?

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


More information about the llvm-commits mailing list