projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use the llvm-upgrade program to upgrade llvm assembly.
[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-upgrade < %s | llvm-as | opt -raise | llvm-dis | not grep 'bitcast uint \*'
5
6
int "test"(uint * %Ptr) {
7
%P2 = cast uint *%Ptr to int *
8
%Val = load int * %P2
9
ret int %Val
10
}