projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove a couple more unsafe xforms in the face of overflow.
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2003-05-26-CastMiscompile.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep 4294967295
2
3
ulong %test(ulong %Val) {
4
%tmp.3 = cast ulong %Val to uint ; <uint> [#uses=1]
5
%tmp.8 = cast uint %tmp.3 to ulong ; <ulong> [#uses=1]
6
ret ulong %tmp.8
7
}