[llvm] [RISCV] Move RISCVInsertVSETVLI to after phi elimination (PR #91440)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Thu May 9 19:47:33 PDT 2024
================
@@ -167,8 +167,8 @@ define <vscale x 4 x i32> @spill_zvlsseg_nxv4i32(ptr %base, i32 %vl) nounwind {
; SPILL-O0-NEXT: csrr a2, vlenb
; SPILL-O0-NEXT: slli a2, a2, 1
; SPILL-O0-NEXT: sub sp, sp, a2
-; SPILL-O0-NEXT: vsetvli zero, a1, e32, m2, ta, ma
; SPILL-O0-NEXT: # implicit-def: $v8m2_v10m2
+; SPILL-O0-NEXT: vsetvli zero, a1, e32, m2, tu, ma
----------------
lukel97 wrote:
Potentially a case where hasUndefinedMergeOp is failing, causing the tu policy.
https://github.com/llvm/llvm-project/pull/91440
More information about the llvm-commits
mailing list