[llvm] [bolt] Simplify rodata/literal load for X86_64 & AArch64 (PR #179474)
Paschalis Mpeis via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 10 06:15:06 PST 2026
================
@@ -2419,6 +2420,11 @@ void RewriteInstance::adjustCommandLineOptions() {
if (!opts::TerminalTrap.getNumOccurrences())
opts::TerminalTrap = false;
}
+
+ if (BC->isRISCV() || (BC->isAArch64() && !BC->HasRelocations)) {
----------------
paschalis-mpeis wrote:
Great, thank you!
https://github.com/llvm/llvm-project/pull/179474
More information about the llvm-commits
mailing list