repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git]
/
test
/
Transforms
/
InstCombine
/
2008-01-06-VoidCast.ll
blob
407ff4ddc29afdfb981fcfcd8132d128fc66bee8
1
; RUN: opt < %s -instcombine -S | not grep bitcast
2
3
define void @f(i16 %y) {
4
ret void
5
}
6
7
define i32 @g(i32 %y) {
8
%x = call i32 bitcast (void (i16)* @f to i32 (i32)*)( i32 %y ) ; <i32> [#uses=1]
9
ret i32 %x
10
}