
https://docs.microsoft.com/en-us/cpp/intrinsics/arm64-intrinsics?view=msvc-170 Reland after fixing the test failure. The failure was due to conflict with a change (D122983) which was merged right before this patch. Reviewed By: rnk, mstorsjo Differential Revision: https://reviews.llvm.org/D124032
11 lines
231 B
LLVM
11 lines
231 B
LLVM
; RUN: llc < %s -mtriple=arm64-eabi | FileCheck %s
|
|
|
|
define void @foo() nounwind {
|
|
; CHECK-LABEL: foo
|
|
; CHECK: brk #0x2
|
|
tail call void @llvm.aarch64.break(i32 2)
|
|
ret void
|
|
}
|
|
|
|
declare void @llvm.aarch64.break(i32 immarg) nounwind
|