llvm-project/llvm/test/Transforms/InstCombine/AMDGPU
Marek Olsak 33eb4d947d AMDGPU: Add a fast path for icmp.i1(src, false, NE)
Summary:
This allows moving the condition from the intrinsic to the standard ICmp
opcode, so that LLVM can do simplifications on it. The icmp.i1 intrinsic
is an identity for retrieving the SGPR mask.

And we can also get the mask from and i1, or i1, xor i1.

Reviewers: arsenm, nhaehnle

Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye, llvm-commits

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

llvm-svn: 351150
2019-01-15 02:13:18 +00:00
..
amdgcn-demanded-vector-elts.ll [AMDGPU] Add support for TFE/LWE in image intrinsics. 2nd try 2019-01-14 11:55:24 +00:00
amdgcn-intrinsics.ll AMDGPU: Add a fast path for icmp.i1(src, false, NE) 2019-01-15 02:13:18 +00:00
lit.local.cfg