1 // This test checks that ADR+LDR instruction sequence relaxed by the linker
2 // to the ADR+ADD sequence is properly reconized and handled by bolt
4 // RUN: yaml2obj %p/Inputs/got-ld64-relaxation.yaml &> %t.exe
5 // RUN: llvm-bolt %t.exe -o /dev/null --print-fix-relaxations \
6 // RUN: --print-only=main | FileCheck %s
9 // CHECK-NEXT: add x0, x0, :lo12:foo