[llvm] [IR][ASMParser] Use default AS for alloca without explicit AS (PR #135786)

Fabian Ritter via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 15 07:09:41 PDT 2025


ritter-x2a wrote:

> FWIW, I'm gonna make a PR to treat alloca in non-private AS as invalid IR.

Sounds like we are looking into similar fuzzer tickets :)
Be aware that this probably needs to go into some kind of target-specific verifier, since there seem to be targets (for example WASM, according to https://reviews.llvm.org/D101045 ) that use non-default address spaces in allocas.

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


More information about the llvm-commits mailing list