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
Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[llvm/avr.git]
/
test
/
Transforms
/
InstCombine
/
IntPtrCast.ll
blob
448c58d56205233cbf233b6b703d369beadeb4a3
1
; RUN: opt < %s -instcombine -S | notcast
2
target datalayout = "e-p:32:32"
3
4
define i32* @test(i32* %P) {
5
%V = ptrtoint i32* %P to i32 ; <i32> [#uses=1]
6
%P2 = inttoptr i32 %V to i32* ; <i32*> [#uses=1]
7
ret i32* %P2
8
}
9