forked from OSchip/llvm-project
8 lines
182 B
LLVM
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
|
||
|
}
|