[PATCH] D34300: [AMDGPU] simplify add x, *ext (setcc) => addc|subb x, 0, setcc

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 16 15:53:28 PDT 2017


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

This simplification allows to avoid generating v_cndmask_b32 to serialize condition code between compare and use.


Repository:
  rL LLVM

https://reviews.llvm.org/D34300

Files:
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  lib/Target/AMDGPU/AMDGPUISelLowering.h
  lib/Target/AMDGPU/AMDGPUInstrInfo.td
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIISelLowering.h
  lib/Target/AMDGPU/VOP2Instructions.td
  test/CodeGen/AMDGPU/combine-cond-add-sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34300.102895.patch
Type: text/x-patch
Size: 6689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170616/cbfdcffa/attachment.bin>


More information about the llvm-commits mailing list