[PATCH] D58634: [PR40778] Generate address space conversion when binding reference to a temporary value in different address space

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 5 08:31:17 PST 2019


rjmccall accepted this revision.
rjmccall added a comment.
This revision is now accepted and ready to land.

This test file will probably grow over time, so please add a CHECK-LABEL line to the test case to make sure you're checking the body of foo().  Also, you'll probably need to allow the name `%ref.tmp` to be stripped for this test to pass in release builds; please go ahead and test a more complete pattern, including the alloca and the store of 1 to it.  Otherwise LGTM.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58634/new/

https://reviews.llvm.org/D58634





More information about the cfe-commits mailing list