diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-31 18:42:43 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-31 18:42:43 +0000 |
commit | a6f74992441c998886bbf26696ea7ec9746df537 (patch) | |
tree | 7721b7ba6cb14f45019075431a06dfe693343936 /test/CodeGen/SPARC | |
parent | 1d6b38d9d37d5de471f5954b23b46dac58136fec (diff) | |
download | llvm-a6f74992441c998886bbf26696ea7ec9746df537.tar.gz llvm-a6f74992441c998886bbf26696ea7ec9746df537.tar.bz2 llvm-a6f74992441c998886bbf26696ea7ec9746df537.tar.xz |
Fix Mips, Sparc, and XCore tests that were dependent on register allocation.
Add an extra run with -regalloc=basic to keep them honest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128654 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SPARC')
-rw-r--r-- | test/CodeGen/SPARC/2011-01-11-FrameAddr.ll | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll b/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll index fbf7242705..6516b2d19e 100644 --- a/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll +++ b/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll @@ -1,5 +1,7 @@ -;RUN: llc -march=sparc < %s | FileCheck %s -check-prefix=V8 -;RUN: llc -march=sparc -mattr=v9 < %s | FileCheck %s -check-prefix=V9 +;RUN: llc -march=sparc -regalloc=linearscan < %s | FileCheck %s -check-prefix=V8 +;RUN: llc -march=sparc -regalloc=linearscan -mattr=v9 < %s | FileCheck %s -check-prefix=V9 + +; These tests depend on linear scan's trivial coalescer for reserved registers. define i8* @frameaddr() nounwind readnone { entry: |