[PATCH] D31944: [DAGCombiner] add (sext i1 X), 1 --> zext (not i1 X)
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 11 16:27:34 PDT 2017
spatel updated this revision to Diff 94907.
spatel added a comment.
Patch updated:
Check legality of the new ops, so the transform can fire post-legalization too.
https://reviews.llvm.org/D31944
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/ARM/bool-ext-inc.ll
test/CodeGen/X86/bool-ext-inc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31944.94907.patch
Type: text/x-patch
Size: 4327 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170411/6c5b1492/attachment.bin>
More information about the llvm-commits
mailing list