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
X86MCInstLower::Lower should only not emit anything to OutStreamer,
[llvm/avr.git]
/
test
/
Transforms
/
GVN
/
bitcast-of-call.ll
blob
55b4b6e9d317db1c33727cb5d69fb81e7300958d
1
; RUN: opt < %s -gvn -S | not grep tmp2
2
; PR2213
3
4
define i32* @f(i8* %x) {
5
entry:
6
%tmp = call i8* @m( i32 12 ) ; <i8*> [#uses=2]
7
%tmp1 = bitcast i8* %tmp to i32* ; <i32*> [#uses=0]
8
%tmp2 = bitcast i8* %tmp to i32* ; <i32*> [#uses=0]
9
ret i32* %tmp2
10
}
11
12
declare i8* @m(i32)