xref: /minix3/external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/binop-cast.ll (revision 0b98e8aad89f2bd4ba80b523d73cf29e9dd82ce1)
1; RUN: opt < %s -instcombine -S | FileCheck %s
2
3define i32 @testAdd(i32 %X, i32 %Y) {
4	%tmp = add i32 %X, %Y
5; CHECK: %tmp = add i32 %X, %Y
6	%tmp.l = bitcast i32 %tmp to i32
7	ret i32 %tmp.l
8; CHECK: ret i32 %tmp
9}
10