2007-04-15 02:33:31 +08:00
|
|
|
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast
|
2006-11-27 09:05:10 +08:00
|
|
|
|
2007-04-15 02:33:31 +08:00
|
|
|
define i32 @testAdd(i32 %X, i32 %Y) {
|
|
|
|
%tmp = add i32 %X, %Y
|
|
|
|
%tmp.l = bitcast i32 %tmp to i32
|
|
|
|
ret i32 %tmp.l
|
2006-11-27 09:05:10 +08:00
|
|
|
}
|