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
[RISCV] Add shrinkwrap test cases showing gaps in current impl
[llvm-project.git]
/
llvm
/
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