diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-12-29 20:01:32 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-12-29 20:01:32 +0000 |
commit | 73e70822ae9dd03f092b1ae56c5fed6d39b7af3c (patch) | |
tree | 9ff920ffee2e9439e58174d13c0eadfaa3746ee6 /test/CodeGen/X86 | |
parent | 0cc2bd12d22562acaeb3813250de2fcd30bd9e0e (diff) | |
download | llvm-73e70822ae9dd03f092b1ae56c5fed6d39b7af3c.tar.gz llvm-73e70822ae9dd03f092b1ae56c5fed6d39b7af3c.tar.bz2 llvm-73e70822ae9dd03f092b1ae56c5fed6d39b7af3c.tar.xz |
Update tests that need to be run through llvm-upgrade. This is necessary
for upcoming changes to the llvm assembly grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32768 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r-- | test/CodeGen/X86/2006-12-19-IntelSyntax.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/X86/bitcast.ll | 6 | ||||
-rw-r--r-- | test/CodeGen/X86/packed_struct.ll | 10 | ||||
-rw-r--r-- | test/CodeGen/X86/vec_ins_extract.ll | 6 | ||||
-rw-r--r-- | test/CodeGen/X86/x86-64-asm.ll | 2 |
5 files changed, 14 insertions, 12 deletions
diff --git a/test/CodeGen/X86/2006-12-19-IntelSyntax.ll b/test/CodeGen/X86/2006-12-19-IntelSyntax.ll index b79700afd0..6985bd0e7a 100644 --- a/test/CodeGen/X86/2006-12-19-IntelSyntax.ll +++ b/test/CodeGen/X86/2006-12-19-IntelSyntax.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel ; PR1061 target datalayout = "e-p:32:32" diff --git a/test/CodeGen/X86/bitcast.ll b/test/CodeGen/X86/bitcast.ll index d0d3bd4bcb..d7c78edb62 100644 --- a/test/CodeGen/X86/bitcast.ll +++ b/test/CodeGen/X86/bitcast.ll @@ -1,6 +1,6 @@ -; RUN: llvm-as < %s | llc && -; RUN: llvm-as < %s | llc -march=x86 && -; RUN: llvm-as < %s | llc -march=x86-64 +; RUN: llvm-upgrade < %s | llvm-as | llc && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86-64 ; PR1033 long %test1(double %t) { diff --git a/test/CodeGen/X86/packed_struct.ll b/test/CodeGen/X86/packed_struct.ll index d027937b08..94548b892f 100644 --- a/test/CodeGen/X86/packed_struct.ll +++ b/test/CodeGen/X86/packed_struct.ll @@ -1,8 +1,8 @@ -; RUN: llvm-as < %s | llc -march=x86 |grep "foos+5" && -; RUN: llvm-as < %s | llc -march=x86 |grep "foos+1" && -; RUN: llvm-as < %s | llc -march=x86 |grep "foos+9" && -; RUN: llvm-as < %s | llc -march=x86 |grep "bara+19" && -; RUN: llvm-as < %s | llc -march=x86 |grep "bara+4" +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 |grep "foos+5" && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 |grep "foos+1" && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 |grep "foos+9" && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 |grep "bara+19" && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 |grep "bara+4" ; make sure we compute the correct offset for a packed structure diff --git a/test/CodeGen/X86/vec_ins_extract.ll b/test/CodeGen/X86/vec_ins_extract.ll index eee8d22ebb..9d9f17e746 100644 --- a/test/CodeGen/X86/vec_ins_extract.ll +++ b/test/CodeGen/X86/vec_ins_extract.ll @@ -1,5 +1,7 @@ -; RUN: llvm-as< %s | opt -scalarrepl -instcombine | llc -march=x86 -mcpu=yonah && -; RUN: llvm-as< %s | opt -scalarrepl -instcombine | llc -march=x86 -mcpu=yonah | not grep sub.*esp +; RUN: llvm-upgrade < %s | llvm-as | opt -scalarrepl -instcombine | \ +; RUN: llc -march=x86 -mcpu=yonah && +; RUN: llvm-upgrade < %s | llvm-as | opt -scalarrepl -instcombine | \ +; RUN: llc -march=x86 -mcpu=yonah | not grep sub.*esp ; This checks that various insert/extract idiom work without going to the ; stack. diff --git a/test/CodeGen/X86/x86-64-asm.ll b/test/CodeGen/X86/x86-64-asm.ll index e5b293e304..0814684bcd 100644 --- a/test/CodeGen/X86/x86-64-asm.ll +++ b/test/CodeGen/X86/x86-64-asm.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc +; RUN: llvm-upgrade < %s | llvm-as | llc ; PR1029 target datalayout = "e-p:64:64" |