[llvm] [SROA] Allow canonicalizing homogeneous array allocas to vectors (PR #216456)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 15 02:13:05 PDT 2026


dtcxzyw wrote:

> %a = alloca [4294967295 x i8]

??? Do we have some existing thresholds to bail out on large structs/arrays?
I am not sure if it is fine under the security model of LLVM. At least we allow memory usage to grow linearly with the integer bit width (e.g., during the legalization of BitInt).


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


More information about the llvm-commits mailing list