[PATCH] D18511: AVX-512: Fixed ICMP instruction selection for i1 operand
Elena Demikhovsky via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 27 22:43:56 PDT 2016
delena created this revision.
delena added a reviewer: igorb.
delena added a subscriber: llvm-commits.
delena set the repository for this revision to rL LLVM.
ICMP instruction selection fails on SKX and KNL for i1 operand.
I use XOR to resolve:
(A == B) is equivalent to (A xor B) == 0
Repository:
rL LLVM
http://reviews.llvm.org/D18511
Files:
../lib/Target/X86/X86ISelLowering.cpp
../test/CodeGen/X86/avx512-cmp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18511.51733.patch
Type: text/x-patch
Size: 6387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160328/7ba09c43/attachment-0001.bin>
More information about the llvm-commits
mailing list