Files
clang-p2996/llvm/test/CodeGen/AArch64/GlobalISel/ubsantrap.ll
Tim Northover 45de42116e AArch64: use correct operand for ubsantrap immediate.
I accidentally pushed the wrong patch originally.
2020-12-09 10:17:16 +00:00

12 lines
286 B
LLVM

; RUN: llc -mtriple=arm64-apple-ios %s -o - -global-isel -global-isel-abort=1 | FileCheck %s
define void @test_ubsantrap() {
; CHECK-LABEL: test_ubsantrap
; CHECK: brk #0x550c
; CHECK-GISEL: brk #0x550c
call void @llvm.ubsantrap(i8 12)
ret void
}
declare void @llvm.ubsantrap(i8)