aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/binop-cast.ll
blob: eb34a12d2bef8808b5a1137caa3b842732dedcf5 (plain)
1
2
3
4
5
6
7
; RUN: opt %s -instcombine | llvm-dis | notcast

define i32 @testAdd(i32 %X, i32 %Y) {
	%tmp = add i32 %X, %Y
	%tmp.l = bitcast i32 %tmp to i32
	ret i32 %tmp.l
}