[PATCH] D32571: InferAddressSpaces: Search constant expressions for addrspacecasts

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 26 16:33:51 PDT 2017


arsenm created this revision.
Herald added subscribers: nhaehnle, wdng, jholewinski.

These are pretty common when using local memory, and the 64-bit generic
addressing is much more expensive to compute.


https://reviews.llvm.org/D32571

Files:
  lib/Transforms/Scalar/InferAddressSpaces.cpp
  test/Transforms/InferAddressSpaces/AMDGPU/infer-getelementptr.ll
  test/Transforms/InferAddressSpaces/NVPTX/bug31948.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32571.96849.patch
Type: text/x-patch
Size: 9973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170426/92f053ef/attachment.bin>


More information about the llvm-commits mailing list