[Mlir-commits] [llvm] [mlir] [AMDGPU][Verifier] Check address space of `alloca` instruction (PR #135820)
Shilei Tian
llvmlistbot at llvm.org
Mon Apr 21 10:31:29 PDT 2025
================
@@ -4392,6 +4392,11 @@ void Verifier::visitAllocaInst(AllocaInst &AI) {
verifySwiftErrorValue(&AI);
}
+ if (TT.isAMDGPU()) {
+ Check(AI.getAddressSpace() == DL.getAllocaAddrSpace(),
----------------
shiltian wrote:
I will update this PR once https://github.com/llvm/llvm-project/pull/136584 is merged.
https://github.com/llvm/llvm-project/pull/135820
More information about the Mlir-commits
mailing list