[PATCH] D34500: [AMDGPU] Combine and x, (sext cc from i1) => select cc, 0, x

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 21 23:10:48 PDT 2017


rampitec created this revision.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.

Also factored out function to check if a boolean is an already
deserialized value which does not require v_cndmask_b32 to be
loaded. Added binary logical operators to its check.


https://reviews.llvm.org/D34500

Files:
  lib/Target/AMDGPU/SIISelLowering.cpp
  test/CodeGen/AMDGPU/combine-and-sext-bool.ll
  test/CodeGen/AMDGPU/combine-cond-add-sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34500.103529.patch
Type: text/x-patch
Size: 3968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170622/a56a138a/attachment.bin>


More information about the llvm-commits mailing list