[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / AArch64 / inline-asm-blockaddress.ll
blobe5a9998eefd4885d0c86ef98f4db8f907e1c8ef8
1 ; RUN: llc -mtriple=aarch64-unknown-linux-gnu < %s | FileCheck %s
2 ; CHECK-LABEL: foo:
3 ; CHECK: TEST .Ltmp0
4 define void @foo() {
5 entry:
6   br label %bar
7 bar:
8   call void asm sideeffect "#TEST $0", "i,~{dirflag},~{fpsr},~{flags}"(ptr blockaddress(@foo, %bar))
9   ret void
10 indirectgoto:
11   indirectbr ptr undef, [label %bar]