projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Allow creation of GEP constantexprs with a vector of value* operands as
[oota-llvm.git]
/
test
/
Transforms
/
LevelRaise
/
2002-05-10-LoadPeephole.ll
1
; This testcase should have the cast propogated through the load
2
; just like a store does...
3
;
4
; RUN: llvm-as < %s | opt -raise | llvm-dis | grep ' cast ' | not grep '*'
5
6
int "test"(uint * %Ptr) {
7
%P2 = cast uint *%Ptr to int *
8
%Val = load int * %P2
9
ret int %Val
10
}