llvm/test/Transforms/InstCombine/binop-cast.ll
2006-12-02 04:23:10 +00:00

8 lines
182 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | notcast
uint %testAdd(int %X, int %Y) {
%tmp = add int %X, %Y
%tmp.l = sext int %tmp to uint
ret uint %tmp.l
}