projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Move the complex address expression out of DIVariable and into an extra
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2008-03-13-IntToPtr.ll
1
; RUN: opt < %s -instcombine -S | grep "16" | count 1
2
3
define i8* @bork(i8** %qux) {
4
%tmp275 = load i8** %qux, align 1
5
%tmp275276 = ptrtoint i8* %tmp275 to i32
6
%tmp277 = add i32 %tmp275276, 16
7
%tmp277278 = inttoptr i32 %tmp277 to i8*
8
ret i8* %tmp277278
9
}