IROutliner: Fix another assert with non-0 alloca addrspaces
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 5 Jan 2023 16:00:35 +0000 (11:00 -0500)
committerMatt Arsenault <arsenm2@gmail.com>
Sun, 5 Feb 2023 11:02:18 +0000 (07:02 -0400)
commit8c5a292202ff26ad51cf348001f82444d96e803b
tree634396f29b1e6524309b02a3595aaa50462b5cb0
parent120ce83660dea7e70abe1c8f9408f39fe2502f8d
IROutliner: Fix another assert with non-0 alloca addrspaces

Code is inserting an addrspacecast it shouldn't be, but
that's a separate CodeExtractor bug.

This also stops caring about typed pointers.
llvm/lib/Transforms/IPO/IROutliner.cpp
llvm/test/Transforms/IROutliner/alloca-addrspace-1.ll [new file with mode: 0644]