Sign in
ara-mdk
/
platform
/
external
/
llvm
/
238bb0fd7d8cfbfca4918de5b6103c3f3e1808e0
/
.
/
test
/
Transforms
/
InstCombine
/
binop-cast.ll
blob: 3dbca7ef148996b9c4176359b6898a39a7e88ac4 [
file
] [
log
] [
blame
]
; RUN: opt < %s -instcombine -S | FileCheck %s
define
i32
@testAdd
(
i32
%X
,
i32
%Y
)
{
%tmp
=
add
i32
%X
,
%Y
; CHECK: %tmp = add i32 %X, %Y
%tmp.l
=
bitcast
i32
%tmp
to
i32
ret
i32
%tmp.l
; CHECK: ret i32 %tmp
}