projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Testcase from PR 1508 (although its's somewhat
[oota-llvm.git]
/
test
/
CodeGen
/
PowerPC
/
load-constant-addr.ll
1
; Should fold the ori into the lfs.
2
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep lfs
3
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep ori
4
5
float %test() {
6
%tmp.i = load float* cast (uint 186018016 to float*)
7
ret float %tmp.i
8
}
9