From 3eda88ed9f4c84092921f9366298ab11c951fc85 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 3 Dec 2008 17:14:56 +0000 Subject: [PATCH] Fix some tests. The grep for "il" was matching "file". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60485 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/CellSPU/call_indirect.ll | 2 +- test/CodeGen/CellSPU/fdiv.ll | 2 +- test/CodeGen/CellSPU/immed32.ll | 2 +- test/CodeGen/CellSPU/immed64.ll | 4 +++- test/CodeGen/CellSPU/vec_const.ll | 4 ++-- test/CodeGen/CellSPU/vecinsert.ll | 4 ++-- 6 files changed, 10 insertions(+), 8 deletions(-) diff --git a/test/CodeGen/CellSPU/call_indirect.ll b/test/CodeGen/CellSPU/call_indirect.ll index f38cba970bf..e1924e83eb1 100644 --- a/test/CodeGen/CellSPU/call_indirect.ll +++ b/test/CodeGen/CellSPU/call_indirect.ll @@ -11,7 +11,7 @@ ; RUN: grep iohl %t2.s | count 2 ; RUN: grep rotqby %t2.s | count 6 ; RUN: grep lqd %t2.s | count 18 -; RUN: grep il %t2.s | count 2 +; RUN: grep ilhu %t2.s | count 2 ; RUN: grep ai %t2.s | count 9 ; RUN: grep dispatch_tab %t2.s | count 6 diff --git a/test/CodeGen/CellSPU/fdiv.ll b/test/CodeGen/CellSPU/fdiv.ll index 75af90e23f8..826a2faaabf 100644 --- a/test/CodeGen/CellSPU/fdiv.ll +++ b/test/CodeGen/CellSPU/fdiv.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s ; RUN: grep frest %t1.s | count 2 -; RUN: grep fi %t1.s | count 2 +; RUN: grep -w fi %t1.s | count 2 ; RUN: grep fm %t1.s | count 4 ; RUN: grep fma %t1.s | count 2 ; RUN: grep fnms %t1.s | count 2 diff --git a/test/CodeGen/CellSPU/immed32.ll b/test/CodeGen/CellSPU/immed32.ll index 2cadfff9dca..bf471b1eb1c 100644 --- a/test/CodeGen/CellSPU/immed32.ll +++ b/test/CodeGen/CellSPU/immed32.ll @@ -1,7 +1,7 @@ ; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s ; RUN: grep ilhu %t1.s | count 8 ; RUN: grep iohl %t1.s | count 6 -; RUN: grep il %t1.s | count 11 +; RUN: grep -w il %t1.s | count 3 ; RUN: grep 16429 %t1.s | count 1 ; RUN: grep 63572 %t1.s | count 1 ; RUN: grep 128 %t1.s | count 1 diff --git a/test/CodeGen/CellSPU/immed64.ll b/test/CodeGen/CellSPU/immed64.ll index d93322202ad..bbda3ff329c 100644 --- a/test/CodeGen/CellSPU/immed64.ll +++ b/test/CodeGen/CellSPU/immed64.ll @@ -1,6 +1,8 @@ ; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s ; RUN: grep lqa %t1.s | count 13 -; RUN: grep il %t1.s | count 22 +; RUN: grep ilhu %t1.s | count 15 +; RUN: grep ila %t1.s | count 1 +; RUN: grep -w il %t1.s | count 6 ; RUN: grep shufb %t1.s | count 13 ; RUN: grep 65520 %t1.s | count 1 ; RUN: grep 43981 %t1.s | count 1 diff --git a/test/CodeGen/CellSPU/vec_const.ll b/test/CodeGen/CellSPU/vec_const.ll index f604100c4c8..4b29adc8092 100644 --- a/test/CodeGen/CellSPU/vec_const.ll +++ b/test/CodeGen/CellSPU/vec_const.ll @@ -1,8 +1,8 @@ ; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s ; RUN: llvm-as -o - %s | llc -march=cellspu -mattr=large_mem > %t2.s -; RUN: grep il %t1.s | count 16 +; RUN: grep -w il %t1.s | count 3 ; RUN: grep ilhu %t1.s | count 8 -; RUN: grep ilh %t1.s | count 13 +; RUN: grep -w ilh %t1.s | count 5 ; RUN: grep iohl %t1.s | count 7 ; RUN: grep lqa %t1.s | count 6 ; RUN: grep 24672 %t1.s | count 2 diff --git a/test/CodeGen/CellSPU/vecinsert.ll b/test/CodeGen/CellSPU/vecinsert.ll index 726fe3f77c9..6abbd9ac797 100644 --- a/test/CodeGen/CellSPU/vecinsert.ll +++ b/test/CodeGen/CellSPU/vecinsert.ll @@ -2,8 +2,8 @@ ; RUN: grep cbd %t1.s | count 5 ; RUN: grep chd %t1.s | count 5 ; RUN: grep cwd %t1.s | count 10 -; RUN: grep il %t1.s | count 15 -; RUN: grep ilh %t1.s | count 10 +; RUN: grep -w il %t1.s | count 5 +; RUN: grep -w ilh %t1.s | count 6 ; RUN: grep iohl %t1.s | count 1 ; RUN: grep ilhu %t1.s | count 4 ; RUN: grep shufb %t1.s | count 26 -- 2.34.1