[llvm] [RISCV] Select mask operands as virtual registers and eliminate vmv0 (PR #125026)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 29 20:36:18 PST 2025
================
@@ -3916,10 +3916,9 @@ define void @trunc_v6bf16(ptr %x) {
; CHECK-NEXT: fmv.w.x fa5, a1
; CHECK-NEXT: vsetivli zero, 8, e16, m1, ta, ma
; CHECK-NEXT: vfwcvtbf16.f.f.v v10, v8
-; CHECK-NEXT: vsetvli zero, zero, e32, m2, ta, ma
+; CHECK-NEXT: vsetivli zero, 6, e32, m2, ta, ma
----------------
lukel97 wrote:
This is from RISCVVLOptimizer being able to propagate VLs through mask users now
https://github.com/llvm/llvm-project/pull/125026
More information about the llvm-commits
mailing list