aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CellSPU
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-01-21 09:41:42 +0000
committerDuncan Sands <baldrick@free.fr>2009-01-21 09:41:42 +0000
commit74789ea170d2b94526bded1b8900defa69864769 (patch)
tree9feaf038ea0c1fd17f4838211f7ad252aa6b5b4a /test/CodeGen/CellSPU
parent2530566acd8793d06091870657d5f8fbb50b1539 (diff)
downloadexternal_llvm-74789ea170d2b94526bded1b8900defa69864769.zip
external_llvm-74789ea170d2b94526bded1b8900defa69864769.tar.gz
external_llvm-74789ea170d2b94526bded1b8900defa69864769.tar.bz2
Don't rely on grep -w working.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/CellSPU')
-rw-r--r--test/CodeGen/CellSPU/shift_ops.ll32
1 files changed, 16 insertions, 16 deletions
diff --git a/test/CodeGen/CellSPU/shift_ops.ll b/test/CodeGen/CellSPU/shift_ops.ll
index 5b60dc1..2df2f96 100644
--- a/test/CodeGen/CellSPU/shift_ops.ll
+++ b/test/CodeGen/CellSPU/shift_ops.ll
@@ -1,20 +1,20 @@
; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
-; RUN: grep -w shlh %t1.s | count 9
-; RUN: grep -w shlhi %t1.s | count 3
-; RUN: grep -w shl %t1.s | count 9
-; RUN: grep -w shli %t1.s | count 3
-; RUN: grep -w xshw %t1.s | count 5
-; RUN: grep -w and %t1.s | count 5
-; RUN: grep -w andi %t1.s | count 2
-; RUN: grep -w rotmi %t1.s | count 2
-; RUN: grep -w rotqmbyi %t1.s | count 1
-; RUN: grep -w rotqmbii %t1.s | count 2
-; RUN: grep -w rotqmby %t1.s | count 1
-; RUN: grep -w rotqmbi %t1.s | count 1
-; RUN: grep -w rotqbyi %t1.s | count 1
-; RUN: grep -w rotqbii %t1.s | count 2
-; RUN: grep -w rotqbybi %t1.s | count 1
-; RUN: grep -w sfi %t1.s | count 3
+; RUN: grep {shlh } %t1.s | count 9
+; RUN: grep {shlhi } %t1.s | count 3
+; RUN: grep {shl } %t1.s | count 9
+; RUN: grep {shli } %t1.s | count 3
+; RUN: grep {xshw } %t1.s | count 5
+; RUN: grep {and } %t1.s | count 5
+; RUN: grep {andi } %t1.s | count 2
+; RUN: grep {rotmi } %t1.s | count 2
+; RUN: grep {rotqmbyi } %t1.s | count 1
+; RUN: grep {rotqmbii } %t1.s | count 2
+; RUN: grep {rotqmby } %t1.s | count 1
+; RUN: grep {rotqmbi } %t1.s | count 1
+; RUN: grep {rotqbyi } %t1.s | count 1
+; RUN: grep {rotqbii } %t1.s | count 2
+; RUN: grep {rotqbybi } %t1.s | count 1
+; RUN: grep {sfi } %t1.s | count 3
target datalayout = "E-p:32:32:128-f64:64:128-f32:32:128-i64:32:128-i32:32:128-i16:16:128-i8:8:128-i1:8:128-a0:0:128-v128:128:128-s0:128:128"
target triple = "spu"