[PATCH] D65275: [ARM][LowOverheadLoops] Add CPSR defs

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 25 05:22:24 PDT 2019


samparker created this revision.
samparker added reviewers: SjoerdMeijer, dmgreen.
Herald added subscribers: kristof.beyls, javed.absar, qcolombet.

Both WhileLoopStart and LoopDec may get turned into a sub and cmp pair, so add an implicit def to these pseudo instructions in that WLS and LE aren't generated. This has resulted in all the mir test changes.


https://reviews.llvm.org/D65275

Files:
  lib/Target/ARM/ARMInstrThumb2.td
  test/CodeGen/Thumb2/LowOverheadLoops/cond-mov.mir
  test/CodeGen/Thumb2/LowOverheadLoops/end-positive-offset.mir
  test/CodeGen/Thumb2/LowOverheadLoops/massive.mir
  test/CodeGen/Thumb2/LowOverheadLoops/revert-after-call.mir
  test/CodeGen/Thumb2/LowOverheadLoops/revert-after-spill.mir
  test/CodeGen/Thumb2/LowOverheadLoops/revert-non-loop.mir
  test/CodeGen/Thumb2/LowOverheadLoops/revert-while.mir
  test/CodeGen/Thumb2/LowOverheadLoops/size-limit.mir
  test/CodeGen/Thumb2/LowOverheadLoops/switch.mir
  test/CodeGen/Thumb2/LowOverheadLoops/while-negative-offset.mir
  test/CodeGen/Thumb2/LowOverheadLoops/while.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65275.211722.patch
Type: text/x-patch
Size: 70718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190725/8ce0b5c2/attachment.bin>


More information about the llvm-commits mailing list