File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -357,8 +357,6 @@ Error BinaryFunctionPassManager::runAllPasses(BinaryContext &BC) {
357
357
358
358
Manager.registerPass (
359
359
std::make_unique<VeneerElimination>(PrintVeneerElimination));
360
-
361
- Manager.registerPass (std::make_unique<ADRRelaxationPass>());
362
360
}
363
361
364
362
if (BC.isRISCV ()) {
@@ -492,6 +490,8 @@ Error BinaryFunctionPassManager::runAllPasses(BinaryContext &BC) {
492
490
Manager.registerPass (std::make_unique<ReorderData>());
493
491
494
492
if (BC.isAArch64 ()) {
493
+ Manager.registerPass (std::make_unique<ADRRelaxationPass>());
494
+
495
495
// Tighten branches according to offset differences between branch and
496
496
// targets. No extra instructions after this pass, otherwise we may have
497
497
// relocations out of range and crash during linking.
You can’t perform that action at this time.
0 commit comments