diff options
Diffstat (limited to 'test/CodeGen/Mips/2008-08-06-Alloca.ll')
-rw-r--r-- | test/CodeGen/Mips/2008-08-06-Alloca.ll | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/CodeGen/Mips/2008-08-06-Alloca.ll b/test/CodeGen/Mips/2008-08-06-Alloca.ll index 7be7974..5c55137 100644 --- a/test/CodeGen/Mips/2008-08-06-Alloca.ll +++ b/test/CodeGen/Mips/2008-08-06-Alloca.ll @@ -1,4 +1,9 @@ -; RUN: llc < %s -march=mips | grep {subu.*sp} | count 2 +; 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 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" |