[PATCH] D145211: Relax cross-section branches

Daniel Hoekwater via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 26 16:39:28 PDT 2023


dhoekwater updated this revision to Diff 544556.
dhoekwater added a comment.

Refactor code so it doesn't use virtual registers. Because we only care about the liveness at the end of the basic block, we don't need to use backwards scavenging. This structure also sets us up much more nicely for adding alternate implementations of `buildIndirectBranch`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145211/new/

https://reviews.llvm.org/D145211

Files:
  llvm/include/llvm/Target/TargetMachine.h
  llvm/lib/CodeGen/BranchRelaxation.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.h
  llvm/lib/Target/TargetMachine.cpp
  llvm/test/CodeGen/AArch64/branch-relax-b.ll
  llvm/test/CodeGen/AArch64/branch-relax-cross-section.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145211.544556.patch
Type: text/x-patch
Size: 21691 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230726/270f809d/attachment.bin>


More information about the llvm-commits mailing list