[clang] [llvm] [LLVM][SROA] Teach SROA how to "bitcast" between fixed and scalable vectors. (PR #130973)
Nikita Popov via cfe-commits
cfe-commits at lists.llvm.org
Thu May 1 07:43:02 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
----------------
nikic wrote:
@paulwalker-arm We need to do *something* to prevent this from getting blatantly miscompiled before this PR can land. Removal is an option, but maybe the IR generated by clang can be fixed instead.
https://github.com/llvm/llvm-project/pull/130973
More information about the cfe-commits
mailing list