[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / AArch64 / arm64-break.ll
blob3b8b14b61d1cfffaa2f8bdb1ab6546ae03273d87
1 ; RUN: llc < %s -mtriple=arm64-eabi | FileCheck %s
3 define void @foo() nounwind {
4 ; CHECK-LABEL: foo
5 ; CHECK: brk #0x2
6   tail call void @llvm.aarch64.break(i32 2)
7   ret void
10 declare void @llvm.aarch64.break(i32 immarg) nounwind