projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
eliminate additions of 0.0 when they are obviously dead. This has to be careful to
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2006-10-19-SignedToUnsignedCastAndConst.ll
1
; This test case is reduced from llvmAsmParser.cpp
2
; The optimizer should not remove the cast here.
3
; RUN: llvm-upgrade %s -o - | llvm-as | opt -instcombine | llvm-dis | \
4
; RUN: grep sext.*i32
5
6
bool %test(short %X) {
7
%A = cast short %X to uint
8
%B = setgt uint %A, 1330
9
ret bool %B
10
}