repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Alignment][NFC] migrate DataLayout internal struct to llvm::Align
[llvm-core.git]
/
test
/
CodeGen
/
SPARC
/
reg64.ll
blob
74f4d46568f94dfd2e8e536e3a0d51a633bae9b7
1
; RUN: llc < %s -march=sparcv9 | FileCheck %s
2
3
define dso_local zeroext i32 @f() local_unnamed_addr {
4
entry:
5
%0 = tail call i64 asm "", "=r"()
6
%shr = lshr i64 %0, 32
7
%conv = trunc i64 %shr to i32
8
ret i32 %conv
9
}
10
; CHECK: srlx