mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-29 06:30:30 +00:00
7aeb9b5e4c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83828 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
214 B
LLVM
10 lines
214 B
LLVM
; 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
|
|
}
|