64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
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
|
|
}
|