summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/binop-cast.ll
blob: 7ca0151159793dad1104f25768fb877e3ba85d78 (plain)
1
2
3
4
5
6
7
; 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
}