projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Handle vlas during inline cost computation if they'll be turned
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2008-10-23-ConstFoldWithoutMask.ll
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
}