blob: 13404df94174866b317558db69bdef9f4dbe3ac4 [file] [log] [blame]
Reid Spencer3da59db2006-11-27 01:05:10 +00001; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast
2
3uint %testAdd(int %X, int %Y) {
4 %tmp = add int %X, %Y
5 %tmp.l = sext int %tmp to uint
6 ret uint %tmp.l
7}