From: Chris Lattner Date: Wed, 28 Mar 2007 01:27:12 +0000 (+0000) Subject: upgrade a random test X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=05c55ac0c1508bfa770236cd76e2417a23663390;p=oota-llvm.git upgrade a random test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35395 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 }