repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
AArch64
/
arm64-hlt.ll
blob
b16d9a0426f0d4c8c2e2234907b271405c5f006d
1
; RUN: llc < %s -mtriple=arm64-eabi | FileCheck %s
2
3
define void @foo() nounwind {
4
; CHECK-LABEL: foo
5
; CHECK: hlt #0x2
6
tail call void @llvm.aarch64.hlt(i32 2)
7
ret void
8
}
9
10
declare void @llvm.aarch64.hlt(i32 immarg) nounwind