[PATCH] D32501: InferAddressSpaces: Infer from just addrspacecasts

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 12:17:44 PDT 2017


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

Eliminates some more cases where some subset of the addressing
computation remains flat. Some cases with addrspacecasts    
in nested constant expressions are still left behind however.


https://reviews.llvm.org/D32501

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32501.96617.patch
Type: text/x-patch
Size: 6983 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170425/8cd3d96d/attachment.bin>


More information about the llvm-commits mailing list