projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix bug in updating dominance frontier after loop
[oota-llvm.git]
/
test
/
Transforms
/
ConstProp
/
float-to-ptr-cast.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | \
2
; RUN: grep -F {ret i32* null} | count 2
3
4
int* %test1() {
5
%X = cast float 0.0 to int*
6
ret int* %X
7
}
8
9
int* %test2() {
10
ret int* cast (float 0.0 to int*)
11
}