blob: b16d9a0426f0d4c8c2e2234907b271405c5f006d [file] [log] [blame]
; RUN: llc < %s -mtriple=arm64-eabi | FileCheck %s
define void @foo() nounwind {
; CHECK-LABEL: foo
; CHECK: hlt #0x2
tail call void @llvm.aarch64.hlt(i32 2)
ret void
}
declare void @llvm.aarch64.hlt(i32 immarg) nounwind