[llvm] [RISCV] Unify vsetvli compatibility logic in forward and backwards passes (PR #71657)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 8 05:30:50 PST 2023
================
@@ -329,9 +329,9 @@ entry:
define double @test17(i64 %avl, <vscale x 1 x double> %a, <vscale x 1 x double> %b) nounwind {
; CHECK-LABEL: test17:
; CHECK: # %bb.0: # %entry
-; CHECK-NEXT: vsetvli a0, a0, e64, m1, ta, ma
-; CHECK-NEXT: vfmv.f.s fa5, v8
+; CHECK-NEXT: vsetvli a0, a0, e32, mf2, ta, ma
----------------
lukel97 wrote:
Would it need to be `vsetvli a0, a0, e64, m1, ta, ma` since the resulting VL is used?
https://github.com/llvm/llvm-project/pull/71657
More information about the llvm-commits
mailing list