[PATCH] [NVPTX] Replace addrspacecast with bitcast
Jingyue Wu
jingyue at google.com
Thu May 1 11:23:51 PDT 2014
Hi jholewinski, arsenm, eliben,
Fixed a TODO item in r205571.
To eliminate an addrspacecast that changes the underlying element type,
we replace it with a bitcast instead of removing it completely.
Updated the comments to make them consistent with the new code.
Added a test and modified one old test for this change.
http://reviews.llvm.org/D3586
Files:
lib/Target/NVPTX/NVPTXFavorNonGenericAddrSpaces.cpp
test/CodeGen/NVPTX/access-non-generic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3586.9015.patch
Type: text/x-patch
Size: 11751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140501/92c991c0/attachment.bin>
More information about the llvm-commits
mailing list