[PATCH] D23490: [AVX512] Generate KORTEST for CMP i1.

Igor Breger via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 14 07:41:57 PDT 2016


igorb created this revision.
igorb added a reviewer: delena.
igorb added a subscriber: llvm-commits.
igorb set the repository for this revision to rL LLVM.

[AVX512]  In some cases  CMP i1 , 0 ( implemented by KORTEST ) may be used instead of ZEXT + TEST sequence.

Repository:
  rL LLVM

https://reviews.llvm.org/D23490

Files:
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86InstrAVX512.td
  test/CodeGen/X86/avx512-cmp.ll
  test/CodeGen/X86/avx512-i1test.ll
  test/CodeGen/X86/avx512-insert-extract.ll
  test/CodeGen/X86/masked_gather_scatter.ll
  test/CodeGen/X86/masked_memop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23490.67978.patch
Type: text/x-patch
Size: 95106 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160814/5f5cdd10/attachment.bin>


More information about the llvm-commits mailing list