aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CellSPU
diff options
context:
space:
mode:
authorKalle Raiskila <kalle.raiskila@nokia.com>2010-11-29 10:30:25 +0000
committerKalle Raiskila <kalle.raiskila@nokia.com>2010-11-29 10:30:25 +0000
commitc2ebfd454c599f5023d2dc2c8106911f8c05614c (patch)
tree4573038d9044bf651a05dad17eb084ac9b1575f1 /test/CodeGen/CellSPU
parentb00f24b13c49fe1d7151a143fbb6213b3615c7ad (diff)
downloadexternal_llvm-c2ebfd454c599f5023d2dc2c8106911f8c05614c.zip
external_llvm-c2ebfd454c599f5023d2dc2c8106911f8c05614c.tar.gz
external_llvm-c2ebfd454c599f5023d2dc2c8106911f8c05614c.tar.bz2
Enable PostRA scheduling for SPU.
This speeds up selected test cases with up to 5% - no slowdowns observed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120286 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/CellSPU')
-rw-r--r--test/CodeGen/CellSPU/sext128.ll6
-rw-r--r--test/CodeGen/CellSPU/shuffles.ll2
2 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/CellSPU/sext128.ll b/test/CodeGen/CellSPU/sext128.ll
index 8a5b609..027c1c5 100644
--- a/test/CodeGen/CellSPU/sext128.ll
+++ b/test/CodeGen/CellSPU/sext128.ll
@@ -13,8 +13,8 @@ entry:
; CHECK: long 66051
; CHECK: long 67438087
; CHECK-NOT: rotqmbyi
-; CHECK: rotmai
; CHECK: lqa
+; CHECK: rotmai
; CHECK: shufb
}
@@ -27,8 +27,8 @@ entry:
; CHECK: long 269488144
; CHECK: long 66051
; CHECK-NOT: rotqmbyi
-; CHECK: rotmai
; CHECK: lqa
+; CHECK: rotmai
; CHECK: shufb
}
@@ -42,8 +42,8 @@ entry:
; CHECK: long 269488144
; CHECK: long 66051
; CHECK-NOT: rotqmbyi
-; CHECK: rotmai
; CHECK: lqa
+; CHECK: rotmai
; CHECK: shufb
}
diff --git a/test/CodeGen/CellSPU/shuffles.ll b/test/CodeGen/CellSPU/shuffles.ll
index 94b5fbd..c88a258 100644
--- a/test/CodeGen/CellSPU/shuffles.ll
+++ b/test/CodeGen/CellSPU/shuffles.ll
@@ -1,4 +1,4 @@
-; RUN: llc --march=cellspu < %s | FileCheck %s
+; RUN: llc -O1 --march=cellspu < %s | FileCheck %s
define <4 x float> @shuffle(<4 x float> %param1, <4 x float> %param2) {
; CHECK: cwd {{\$.}}, 0($sp)