Remove MVT:i1 xor instruction before SELECT. (Performance improvement).
authorAyman Musa <ayman.musa@intel.com>
Tue, 13 Sep 2016 09:12:45 +0000 (09:12 +0000)
committerAyman Musa <ayman.musa@intel.com>
Tue, 13 Sep 2016 09:12:45 +0000 (09:12 +0000)
commit0c2da88f82acd9f32557d30cd90b77153f87d7c4
tree84d2170e1e636af24af37643039bee7d462bbba1
parentacb6b35b566e6558cef7bfc1d3c19943786c01c9
Remove MVT:i1 xor instruction before SELECT. (Performance improvement).

Differential Revision: https://reviews.llvm.org/D23764

llvm-svn: 281308
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/PowerPC/select-i1-vs-i1.ll
llvm/test/CodeGen/X86/xor-select-i1-combine.ll [new file with mode: 0644]