repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] More MVE compare vector splat combines for ANDs
[llvm-complete.git]
/
test
/
CodeGen
/
AArch64
/
read-pc.ll
blob
626eaacefb645e90cdf8a77c789310a9e57bf210
1
; RUN: llc < %s -mtriple=arm64-linux-gnu | FileCheck %s
2
3
define i64 @read_pc() {
4
; CHECK: adr x0, #0
5
%pc = call i64 @llvm.read_register.i64(metadata !0)
6
ret i64 %pc
7
}
8
9
declare i64 @llvm.read_register.i64(metadata) nounwind
10
11
!0 = !{!"pc"}