1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 22:12:57 +02:00
llvm-mirror/test/Transforms/InstCombine/binop-cast.ll
Reid Spencer 1b945f943e Fix a test test llvm.exp found.
llvm-svn: 36006
2007-04-14 18:33:31 +00:00

8 lines
174 B
LLVM

; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast
define i32 @testAdd(i32 %X, i32 %Y) {
%tmp = add i32 %X, %Y
%tmp.l = bitcast i32 %tmp to i32
ret i32 %tmp.l
}