llvm-6502/test/Transforms/InstCombine/binop-cast.ll
2009-09-08 22:34:10 +00:00

8 lines
156 B
LLVM

; RUN: opt < %s -instcombine -S | notcast
define i32 @testAdd(i32 %X, i32 %Y) {
%tmp = add i32 %X, %Y
%tmp.l = bitcast i32 %tmp to i32
ret i32 %tmp.l
}