diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-04-05 21:40:41 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-04-05 21:40:41 +0000 |
commit | c5ddb740895f4f2efe58bcd6d092d07d0bdb2527 (patch) | |
tree | ced6624fdc1ef5d925ad14584416236bee2db52e | |
parent | cfafc54040cc9722995558124f253d05a038176b (diff) |
These tests no longer require linear scan because reserved register coalescing is now universal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128936 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/ARM/2009-10-27-double-align.ll | 5 | ||||
-rw-r--r-- | test/CodeGen/ARM/arm-returnaddr.ll | 9 | ||||
-rw-r--r-- | test/CodeGen/Mips/2008-08-06-Alloca.ll | 8 | ||||
-rw-r--r-- | test/CodeGen/PowerPC/2010-05-03-retaddr1.ll | 3 | ||||
-rw-r--r-- | test/CodeGen/SPARC/2011-01-11-FrameAddr.ll | 8 |
5 files changed, 14 insertions, 19 deletions
diff --git a/test/CodeGen/ARM/2009-10-27-double-align.ll b/test/CodeGen/ARM/2009-10-27-double-align.ll index 10ca722f9e..b37de9dbbd 100644 --- a/test/CodeGen/ARM/2009-10-27-double-align.ll +++ b/test/CodeGen/ARM/2009-10-27-double-align.ll @@ -1,6 +1,5 @@ -; RUN: llc < %s -mtriple=arm-linux-gnueabi -regalloc=linearscan | FileCheck %s - -; This test depends on linear scan's reserved register coalescing. +; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s +; RUN: llc < %s -mtriple=arm-linux-gnueabi -regalloc=basic | FileCheck %s @.str = private constant [1 x i8] zeroinitializer, align 1 diff --git a/test/CodeGen/ARM/arm-returnaddr.ll b/test/CodeGen/ARM/arm-returnaddr.ll index ec2ebc9aae..95edaad47e 100644 --- a/test/CodeGen/ARM/arm-returnaddr.ll +++ b/test/CodeGen/ARM/arm-returnaddr.ll @@ -1,11 +1,10 @@ -; RUN: llc < %s -mtriple=arm-apple-darwin -regalloc=linearscan | FileCheck %s -; RUN: llc < %s -mtriple=thumbv6-apple-darwin -regalloc=linearscan | FileCheck %s +; RUN: llc < %s -mtriple=arm-apple-darwin | FileCheck %s +; RUN: llc < %s -mtriple=thumbv6-apple-darwin | FileCheck %s +; RUN: llc < %s -mtriple=arm-apple-darwin -regalloc=basic | FileCheck %s +; RUN: llc < %s -mtriple=thumbv6-apple-darwin -regalloc=basic | FileCheck %s ; rdar://8015977 ; rdar://8020118 -; This test needs the reserved register r7 to be coalesced into the ldr. -; So far, only linear scan can do that. - define i8* @rt0(i32 %x) nounwind readnone { entry: ; CHECK: rt0: diff --git a/test/CodeGen/Mips/2008-08-06-Alloca.ll b/test/CodeGen/Mips/2008-08-06-Alloca.ll index 5c55137627..6dd4af111c 100644 --- a/test/CodeGen/Mips/2008-08-06-Alloca.ll +++ b/test/CodeGen/Mips/2008-08-06-Alloca.ll @@ -1,9 +1,5 @@ -; RUN: llc < %s -march=mips -regalloc=linearscan | grep {subu.*sp} | count 2 - -; This test depends on a linearscan optimization, joining copies from reserved -; registers. -; After coalescing, copies from %SP remain. -; They are handled by RALinScan::attemptTrivialCoalescing +; RUN: llc < %s -march=mips | grep {subu.*sp} | count 2 +; RUN: llc < %s -march=mips -regalloc=basic | grep {subu.*sp} | count 2 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64" target triple = "mipsallegrexel-unknown-psp-elf" diff --git a/test/CodeGen/PowerPC/2010-05-03-retaddr1.ll b/test/CodeGen/PowerPC/2010-05-03-retaddr1.ll index 2a35d268a7..72ae9d6c73 100644 --- a/test/CodeGen/PowerPC/2010-05-03-retaddr1.ll +++ b/test/CodeGen/PowerPC/2010-05-03-retaddr1.ll @@ -1,4 +1,5 @@ -; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin -mcpu=g5 -regalloc=linearscan | FileCheck %s +; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin -mcpu=g5 | FileCheck %s +; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin -mcpu=g5 -regalloc=basic | FileCheck %s declare i8* @llvm.frameaddress(i32) nounwind readnone diff --git a/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll b/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll index 6516b2d19e..9e6583ca2c 100644 --- a/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll +++ b/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll @@ -1,7 +1,7 @@ -;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. +;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=basic < %s | FileCheck %s -check-prefix=V8 +;RUN: llc -march=sparc -regalloc=basic -mattr=v9 < %s | FileCheck %s -check-prefix=V9 define i8* @frameaddr() nounwind readnone { entry: |