[PATCH] D43063: [DAGCombiner] Call ExtendUsesToFormExtLoad in (zext (and (load)))->(and (zextload)) even when the and does not have multiple uses
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 10 22:39:32 PST 2018
craig.topper updated this revision to Diff 133784.
craig.topper added a comment.
Pass N0 instead of N. But then pass the VT separately so the isTruncateFree call has the right VT to use for its look up since we're no longer passing the extend.
https://reviews.llvm.org/D43063
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/NVPTX/param-load-store.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43063.133784.patch
Type: text/x-patch
Size: 4913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180211/7bf29b88/attachment.bin>
More information about the llvm-commits
mailing list