[llvm] [bolt] Simplify rodata/literal load for X86_64 & AArch64 (PR #179474)
Alexey Moksyakov via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 5 06:13:08 PST 2026
================
@@ -2419,6 +2420,11 @@ void RewriteInstance::adjustCommandLineOptions() {
if (!opts::TerminalTrap.getNumOccurrences())
opts::TerminalTrap = false;
}
+
+ if (BC->isRISCV() || (BC->isAArch64() && !BC->HasRelocations)) {
----------------
yavtuk wrote:
sure, will do it
https://github.com/llvm/llvm-project/pull/179474
More information about the llvm-commits
mailing list