[llvm] [LLVM][SelectionDAG] Remove scalable vector restriction from poison analysis. (PR #102504)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 12 09:56:26 PDT 2024


================
@@ -1501,18 +1501,23 @@ define <vscale x 8 x i32> @vwadd_vx_splat_zext_i1(<vscale x 8 x i1> %va, i16 %b)
 ; RV32:       # %bb.0:
 ; RV32-NEXT:    slli a0, a0, 16
 ; RV32-NEXT:    srli a0, a0, 16
-; RV32-NEXT:    vsetvli a1, zero, e32, m4, ta, mu
+; RV32-NEXT:    vsetvli a1, zero, e32, m4, ta, ma
 ; RV32-NEXT:    vmv.v.x v8, a0
-; RV32-NEXT:    vadd.vi v8, v8, 1, v0.t
+; RV32-NEXT:    addi a0, a0, 1
----------------
preames wrote:

(not blocking discussion for this review)

@topperc What's your feeling on this change?  This looks like either the before or after are about equal to me, do you agree?

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


More information about the llvm-commits mailing list