1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Fix a test test llvm.exp found.

llvm-svn: 36006
This commit is contained in:
Reid Spencer 2007-04-14 18:33:31 +00:00
parent 42b10c8238
commit 1b945f943e

View File

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