Model stacksave and stackrestore as both writing memory, since we
[oota-llvm.git] / test / Transforms / InstCombine / binop-cast.ll
1 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast
2
3 define i32 @testAdd(i32 %X, i32 %Y) {
4         %tmp = add i32 %X, %Y
5         %tmp.l = bitcast i32 %tmp to i32
6         ret i32 %tmp.l
7 }