[llvm] [InferAddressSpaces] collect flat address expression from return value (PR #70610)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 30 00:19:37 PDT 2023


================
@@ -4,10 +4,9 @@
 ;  this doesn't do something insane on non-canonical IR.
 
 ; CHECK-LABEL: @return_select_group_flat(
-; CHECK-NEXT: %cast0 = addrspacecast ptr addrspace(3) %group.ptr.0 to ptr
----------------
arsenm wrote:

I think this also should check the signature of the function; need to make sure you aren't mutating it in a way that breaks uses 

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


More information about the llvm-commits mailing list