IROutliner: Fix assert with non-0 alloca addrspace
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 4 Jan 2023 16:07:34 +0000 (11:07 -0500)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 4 Jan 2023 16:30:50 +0000 (11:30 -0500)
commit192c0e5a7a879c814bd51702c710b1d3f2f59981
tree2ff9338c2269b8d680642e5f95c8cf59c23d2b98
parent2fab927546b34f5af7770541a9bbb974d9818c5c
IROutliner: Fix assert with non-0 alloca addrspace

The arguments are passed as stored to new allocas so the address space
needs to match.
llvm/lib/Transforms/IPO/IROutliner.cpp
llvm/test/Transforms/IROutliner/alloca-addrspace.ll [new file with mode: 0644]