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
fix PR4963: folding insertvalue would sometimes turn a packed struct into
[llvm/avr.git]
/
test
/
Transforms
/
InstCombine
/
2008-10-23-ConstFoldWithoutMask.ll
blob
d70d05293e8fc458443ad4774007dab5ad7f2516
1
; RUN: opt < %s -instcombine
2
; PR2940
3
4
define i32 @tstid() {
5
%var0 = inttoptr i32 1 to i8* ; <i8*> [#uses=1]
6
%var2 = ptrtoint i8* %var0 to i32 ; <i32> [#uses=1]
7
ret i32 %var2
8
}