Sign in
swiftshader
/
SwiftShader
/
6b164c337c647c0898a0e54cdb260f0ee91ae4a6
/
.
/
third_party
/
LLVM
/
test
/
Transforms
/
InstCombine
/
binop-cast.ll
blob: 27b544dd75267a673e45668ba0b17d0fc0098732 [
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
}