[all-commits] [llvm/llvm-project] c57b10: [SPARC] Implement hooks for conditional branch rel...
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Tue Apr 4 20:38:55 PDT 2023
Branch: refs/heads/release/16.x
Home: https://github.com/llvm/llvm-project
Commit: c57b104e95c12cc5984077940789a3c2c50510ae
https://github.com/llvm/llvm-project/commit/c57b104e95c12cc5984077940789a3c2c50510ae
Author: Koakuma <koachan at protonmail.com>
Date: 2023-04-04 (Tue, 04 Apr 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
(cherry picked from commit 24e300190a57c97ce88b42bfd6afc84a79fd15e5)
Commit: cd89023f797900e4492da58b7bed36f702120011
https://github.com/llvm/llvm-project/commit/cd89023f797900e4492da58b7bed36f702120011
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2023-04-04 (Tue, 04 Apr 2023)
Changed paths:
M llvm/lib/Target/Sparc/SparcInstrInfo.cpp
Log Message:
-----------
[SPARC] Attempt to fix bug introduced by D142458
Reported https://lab.llvm.org/buildbot/#/builders/5/builds/32113
(cherry picked from commit ea4cbbbfa4207c30888acffc499c8fc71cd3d84f)
Compare: https://github.com/llvm/llvm-project/compare/c3591d714b49...cd89023f7979
More information about the All-commits
mailing list