From 4b0523c35fed182ebff6e50cc096c16008866353 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 28 Mar 2007 01:27:12 +0000 Subject: [PATCH] upgrade a random test llvm-svn: 35395 --- test/CodeGen/SPARC/basictest.ll | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/CodeGen/SPARC/basictest.ll b/test/CodeGen/SPARC/basictest.ll index 11bbe16bb16..5c3e07543b9 100644 --- a/test/CodeGen/SPARC/basictest.ll +++ b/test/CodeGen/SPARC/basictest.ll @@ -1,6 +1,6 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc +; RUN: llvm-as < %s | llc -march=sparc -int %test(int %X) { - %tmp.1 = add int %X, 1 ; [#uses=1] - ret int %tmp.1 +define i32 @test(i32 %X) { + %tmp.1 = add i32 %X, 1 + ret i32 %tmp.1 }