This is an archive of the discontinued LLVM Phabricator instance.

[AVX512] Generate KORTEST instead of TEST.
ClosedPublic

Authored by igorb on Aug 14 2016, 7:41 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

igorb updated this revision to Diff 67978.Aug 14 2016, 7:41 AM
igorb retitled this revision from to [AVX512] Generate KORTEST for CMP i1..
igorb updated this object.
igorb added a reviewer: delena.
igorb set the repository for this revision to rL LLVM.
igorb added a subscriber: llvm-commits.
igorb retitled this revision from [AVX512] Generate KORTEST for CMP i1. to [AVX512] Generate KORTEST instead of TEST..Aug 14 2016, 7:46 AM
igorb updated this object.
delena added inline comments.Aug 28 2016, 9:13 AM
lib/Target/X86/X86ISelLowering.cpp
14856 ↗(On Diff #67978)

use ZEXT + CMP

14856 ↗(On Diff #67978)

the value is in GPR

test/CodeGen/X86/masked_gather_scatter.ll
6 ↗(On Diff #67978)

What is RUN-1?

igorb updated this revision to Diff 69532.Aug 28 2016, 11:09 PM
igorb marked 3 inline comments as done.

Thanks for comments!

delena accepted this revision.Aug 28 2016, 11:21 PM
delena edited edge metadata.
This revision is now accepted and ready to land.Aug 28 2016, 11:21 PM
This revision was automatically updated to reflect the committed changes.