[PATCH] D48246: [AMDGPU] setcc (select cc, CT, CF), CF, eq | ne -> xor cc, -1 | cc

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 15 15:45:07 PDT 2018


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

This is the common case in the BE when we serialize condition and then rematerialize it. Use either original or inverted condition.


https://reviews.llvm.org/D48246

Files:
  lib/Target/AMDGPU/SIISelLowering.cpp
  test/CodeGen/AMDGPU/dagcombine-setcc-select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48246.151576.patch
Type: text/x-patch
Size: 7684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180615/e9d9729a/attachment.bin>


More information about the llvm-commits mailing list