[PATCH] D23764: Remove MVT:i1 xor instruction before SELECT. (Performance improvement).

Ayman Musa via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 29 03:41:09 PDT 2016


aymanmus updated this revision to Diff 69551.
aymanmus added a comment.

- Added a test for AVX512 where the improvement is significant.
- Removed the "one use" condition for the xor instruction.


https://reviews.llvm.org/D23764

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/PowerPC/select-i1-vs-i1.ll
  test/CodeGen/X86/xor-select-i1-combine.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23764.69551.patch
Type: text/x-patch
Size: 4263 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160829/013cac79/attachment.bin>


More information about the llvm-commits mailing list