[PATCH] D142458: [SPARC] Implement hooks for conditional branch relaxation
Koakuma via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 24 05:16:40 PST 2023
koakuma created this revision.
koakuma added reviewers: jrtc27, dcederman, ro, brad, arsenm, MaskRay.
Herald added subscribers: fedor.sergeev, hiraditya, jyknight.
Herald added a project: All.
koakuma requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
Integrate the BranchRelaxation pass to help with relaxing out-of-range conditional branches.
This is mostly of concern for SPARCv9, which uses conditional branches with much smaller range than its v8 counterparts.
(Some large autogenerated code, such as the ones generated by TableGen, already hits this limitation when building in Release)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D142458
Files:
llvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp
llvm/lib/Target/Sparc/SparcInstrInfo.cpp
llvm/lib/Target/Sparc/SparcInstrInfo.h
llvm/lib/Target/Sparc/SparcInstrInfo.td
llvm/lib/Target/Sparc/SparcMCInstLower.cpp
llvm/lib/Target/Sparc/SparcTargetMachine.cpp
llvm/test/CodeGen/SPARC/branches-relax.ll
llvm/test/CodeGen/SPARC/branches-v9.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142458.491719.patch
Type: text/x-patch
Size: 14943 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230124/19ca1584/attachment.bin>
More information about the llvm-commits
mailing list