[clang] [llvm] [LLVM][SROA] Teach SROA how to "bitcast" between fixed and scalable vectors. (PR #130973)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 12 12:09:31 PDT 2025


================
@@ -26,11 +26,15 @@ typedef vbool64_t fixed_bool64_t __attribute__((riscv_rvv_vector_bits(__riscv_v_
 //
 // CHECK-128-LABEL: @call_bool32_ff(
 // CHECK-128-NEXT:  entry:
+// CHECK-128-NEXT:    [[SAVED_VALUE:%.*]] = alloca <1 x i8>, align 1
----------------
topperc wrote:

vbool32_t should hold vlen/32 elements. If vlen is 128, this should be a 4 x i8 type. So there's something wrong somewhere

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


More information about the cfe-commits mailing list