From 69ccadd7535a83b348595cf603126e6a68b2883b Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sat, 2 Dec 2006 04:23:10 +0000 Subject: Use the llvm-upgrade program to upgrade llvm assembly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/SPARC/2006-01-22-BitConvertLegalize.ll | 2 +- test/CodeGen/SPARC/basictest.ll | 2 +- test/CodeGen/SPARC/ctpop.ll | 8 ++++---- test/CodeGen/SPARC/xnor.ll | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'test/CodeGen/SPARC') diff --git a/test/CodeGen/SPARC/2006-01-22-BitConvertLegalize.ll b/test/CodeGen/SPARC/2006-01-22-BitConvertLegalize.ll index b7238ee23b..d93c839bee 100644 --- a/test/CodeGen/SPARC/2006-01-22-BitConvertLegalize.ll +++ b/test/CodeGen/SPARC/2006-01-22-BitConvertLegalize.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=sparc +; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc void %execute_list() { %tmp.33.i = div float 0.000000e+00, 0.000000e+00 ; [#uses=1] diff --git a/test/CodeGen/SPARC/basictest.ll b/test/CodeGen/SPARC/basictest.ll index 274f2ce80b..11bbe16bb1 100644 --- a/test/CodeGen/SPARC/basictest.ll +++ b/test/CodeGen/SPARC/basictest.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=sparc +; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc int %test(int %X) { %tmp.1 = add int %X, 1 ; [#uses=1] diff --git a/test/CodeGen/SPARC/ctpop.ll b/test/CodeGen/SPARC/ctpop.ll index ffe00fcc40..ea88bd2fbc 100644 --- a/test/CodeGen/SPARC/ctpop.ll +++ b/test/CodeGen/SPARC/ctpop.ll @@ -1,7 +1,7 @@ -; RUN: llvm-as < %s | llc -march=sparc -mattr=-v9 && -; RUN: llvm-as < %s | llc -march=sparc -mattr=v9 -enable-sparc-v9-insts && -; RUN: llvm-as < %s | llc -march=sparc -mattr=-v9 | not grep popc && -; RUN: llvm-as < %s | llc -march=sparc -mattr=v9 -enable-sparc-v9-insts | grep popc +; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc -mattr=-v9 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc -mattr=v9 -enable-sparc-v9-insts && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc -mattr=-v9 | not grep popc && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc -mattr=v9 -enable-sparc-v9-insts | grep popc declare uint %llvm.ctpop.i32(uint) uint %test(uint %X) { diff --git a/test/CodeGen/SPARC/xnor.ll b/test/CodeGen/SPARC/xnor.ll index 3a06a415c2..c3b8010595 100644 --- a/test/CodeGen/SPARC/xnor.ll +++ b/test/CodeGen/SPARC/xnor.ll @@ -1,5 +1,5 @@ -; RUN: llvm-as < %s | llc -march=sparc && -; RUN: llvm-as < %s | llc -march=sparc | grep xnor | wc -l | grep 2 +; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc | grep xnor | wc -l | grep 2 int %test1(int %X, int %Y) { %A = xor int %X, %Y -- cgit v1.2.3-18-g5258