Eliminate more linear scan tests.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 12 Nov 2011 20:35:26 +0000 (20:35 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 12 Nov 2011 20:35:26 +0000 (20:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144462 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/fast-isel-bc.ll
test/CodeGen/X86/fold-pcmpeqd-2.ll
test/CodeGen/X86/pr3495.ll

index 4abc3b5b3c8581689a108b5a5d3b2b704a54e09a..193e436559e21900829a75981ae85940ab1604e9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -O0 -regalloc=linearscan -march=x86-64 -mattr=+mmx,+sse2 | FileCheck %s
+; RUN: llc < %s -O0 -regalloc=basic -march=x86-64 -mattr=+mmx,+sse2 | FileCheck %s
 ; PR4684
 
 target datalayout =
index 9f8d9903810d1ad46313b41f732795fb896edece..a7b3332cc27c5fb8c1e9e8b0781fed307715df46 100644 (file)
@@ -1,9 +1,11 @@
-; RUN: llc < %s -mtriple=i386-apple-darwin -mcpu=yonah -regalloc=linearscan | FileCheck %s
-; RUN: llc < %s -mtriple=x86_64-apple-darwin -regalloc=linearscan | FileCheck %s
+; RUN: llc < %s -mtriple=i386-apple-darwin -mcpu=yonah -regalloc=basic | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -regalloc=basic | FileCheck %s
 
 ; This testcase should need to spill the -1 value on both x86-32 and x86-64,
 ; so it shouldn't use pcmpeqd to materialize an all-ones vector; it
 ; should use a constant-pool load instead.
+;
+; RAGreedy defeats the test by splitting live ranges.
 
 ; Constant pool all-ones vector:
 ; CHECK: .long 4294967295
index 7efd35b8b6d02eed1c21e913f4afaeb559b3cdc5..1ce3b492f93d90ee07d6773718543c8a944de2d4 100644 (file)
@@ -1,6 +1,4 @@
-; RUN: llc < %s -march=x86 -stats -regalloc=linearscan -enable-lsr-nested |& grep {Number of loads added} | grep 2
-; RUN: llc < %s -march=x86 -stats -regalloc=linearscan -enable-lsr-nested |& grep {Number of spill slots allocated} | grep 1
-; RUN: llc < %s -march=x86 -stats -regalloc=linearscan -enable-lsr-nested |& grep {Number of machine instrs printed} | grep 34
+; RUN: llc < %s -march=x86 -stats -enable-lsr-nested |& grep {Number of spill slots allocated} | grep 1
 ; PR3495
 ;
 ; Note: this should not spill at all with either good LSR or good regalloc.