[PATCH] Removing unnecessary addrspacecasts from non-generic address spaces to the generic address space

Jingyue Wu jingyue at google.com
Thu Apr 3 12:03:48 PDT 2014


  Added an option called disable-favor-non-generic to disable this optimization.

  Enabled this option in addrspacecast.ll, and revert the tests there.

Hi eliben, jholewinski,

http://llvm-reviews.chandlerc.com/D3235

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D3235?vs=8257&id=8346#toc

Files:
  lib/Target/NVPTX/CMakeLists.txt
  lib/Target/NVPTX/NVPTX.h
  lib/Target/NVPTX/NVPTXFavorNonGenericAddrSpaces.cpp
  lib/Target/NVPTX/NVPTXTargetMachine.cpp
  test/CodeGen/NVPTX/access-non-generic.ll
  test/CodeGen/NVPTX/addrspacecast.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3235.4.patch
Type: text/x-patch
Size: 14284 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140403/58f21dbe/attachment.bin>


More information about the llvm-commits mailing list