[all-commits] [llvm/llvm-project] 24e300: [SPARC] Implement hooks for conditional branch rel...
Koakuma via All-commits
all-commits at lists.llvm.org
Sat Mar 11 14:42:36 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 24e300190a57c97ce88b42bfd6afc84a79fd15e5
https://github.com/llvm/llvm-project/commit/24e300190a57c97ce88b42bfd6afc84a79fd15e5
Author: Koakuma <koachan at protonmail.com>
Date: 2023-03-11 (Sat, 11 Mar 2023)
Changed paths:
M llvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp
M llvm/lib/Target/Sparc/SparcInstrInfo.cpp
M llvm/lib/Target/Sparc/SparcInstrInfo.h
M llvm/lib/Target/Sparc/SparcInstrInfo.td
M llvm/lib/Target/Sparc/SparcTargetMachine.cpp
A llvm/test/CodeGen/SPARC/branches-relax.ll
M llvm/test/CodeGen/SPARC/branches-v9.ll
M llvm/test/CodeGen/SPARC/smulo-128-legalisation-lowering.ll
M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/sparc_generated_funcs.ll.generated.expected
M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/sparc_generated_funcs.ll.nogenerated.expected
Log Message:
-----------
[SPARC] Implement hooks for conditional branch relaxation
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)
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D142458
More information about the All-commits
mailing list