[PATCH] D109186: [AMDGPU] Fold immediates in the optimizeCompareInstr

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 2 13:17:44 PDT 2021


rampitec created this revision.
rampitec added reviewers: arsenm, foad, alex-t.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
rampitec requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

Peephole works before the first SIFoldOperands so most of
the immediates are in registers.


https://reviews.llvm.org/D109186

Files:
  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
  llvm/lib/Target/AMDGPU/SIInstrInfo.h
  llvm/test/CodeGen/AMDGPU/basic-branch.ll
  llvm/test/CodeGen/AMDGPU/optimize-compare.mir
  llvm/test/CodeGen/AMDGPU/setcc.ll
  llvm/test/CodeGen/AMDGPU/wave32.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109186.370382.patch
Type: text/x-patch
Size: 9418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210902/aa35687d/attachment-0001.bin>


More information about the llvm-commits mailing list