[llvm] [VectorCombine] Avoid calling getTypeSizeInBits on scalable vectors in scalarizeLoadBitcast (PR #220482)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 1 23:25:26 PDT 2026
================
@@ -134,3 +134,10 @@ define i32 @load_v4i8_mixed_users(ptr %x) {
%add = add i32 %r1, %r2.ext
ret i32 %add
}
+
+; Make sure we don't crash on scalable vectors
+define <vscale x 4 x i32> @scalable_vec(ptr %p) {
+ %a = load <vscale x 8 x i16>, ptr %p
----------------
lukel97 wrote:
This is missing UTC lines
https://github.com/llvm/llvm-project/pull/220482
More information about the llvm-commits
mailing list