repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
Transforms
/
ConstProp
/
float-to-ptr-cast.ll
blob
d8eb3e8b652c89a272fceec8cf7d7751627f0f3e
1
; RUN: opt < %s -constprop -S | \
2
; RUN: grep -F {ret i32* null} | count 2
3
4
define i32* @test1() {
5
%X = inttoptr i64 0 to i32* ; <i32*> [#uses=1]
6
ret i32* %X
7
}
8
9
define i32* @test2() {
10
ret i32* null
11
}
12