[PATCH] D79767: [ARM] Macro fuse t2LoopDec and t2LoopEnd

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 11 23:57:40 PDT 2020


dmgreen created this revision.
dmgreen added reviewers: samparker, SjoerdMeijer, ostannard, efriedma.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls, qcolombet, MatzeB.
Herald added a project: LLVM.

Fusing these two pseudo instructions together in the scheduler forces them to try and be closer together in the final assembly. This can help, but doesn't on it's own solve the problems of register allocation going awry and spilling lr in the loop.


https://reviews.llvm.org/D79767

Files:
  llvm/lib/Target/ARM/ARMMacroFusion.cpp
  llvm/lib/Target/ARM/ARMSubtarget.h
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/regalloc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79767.263362.patch
Type: text/x-patch
Size: 4358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200512/95197b15/attachment-0001.bin>


More information about the llvm-commits mailing list