[PATCH] D131374: [PowerPC] Modify the condition code in peephole optimi

Esme Yi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 7 21:38:20 PDT 2022


Esme created this revision.
Herald added subscribers: shchenz, kbarton, hiraditya, kristof.beyls, nemanjai.
Herald added a project: All.
Esme requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

  // Modify the condition code directly even though the CmpInstr may not be
  // optimized. There is no harm in doing so, and may create opportunities for
  // comparison optimizations in POST-RA.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131374

Files:
  llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
  llvm/test/CodeGen/PowerPC/common-chain.ll
  llvm/test/CodeGen/PowerPC/f128-aggregates.ll
  llvm/test/CodeGen/PowerPC/loop-instr-form-prepare.ll
  llvm/test/CodeGen/PowerPC/loop-instr-prep-non-const-increasement.ll
  llvm/test/CodeGen/PowerPC/loop-p10-pair-prepare.ll
  llvm/test/CodeGen/PowerPC/pr47373.ll
  llvm/test/CodeGen/PowerPC/shrink-wrap.ll
  llvm/test/CodeGen/PowerPC/spe.ll
  llvm/test/CodeGen/PowerPC/store-constant.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131374.450655.patch
Type: text/x-patch
Size: 14514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220808/18e6b1c0/attachment.bin>


More information about the llvm-commits mailing list