[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / AArch64 / GlobalISel / ubsantrap.ll
blob2b72381be35efcc1c2704709fa436902c4767785
1 ; RUN: llc -mtriple=arm64-apple-ios %s -o - -global-isel -global-isel-abort=1 | FileCheck %s
3 define void @test_ubsantrap() {
4 ; CHECK-LABEL: test_ubsantrap
5 ; CHECK: brk #0x550c
6 ; CHECK-GISEL: brk #0x550c
7   call void @llvm.ubsantrap(i8 12)
8   ret void
11 declare void @llvm.ubsantrap(i8)