diff options
Diffstat (limited to 'test/CodeGen/Generic')
-rw-r--r-- | test/CodeGen/Generic/SwitchLowering.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/Generic/phi-immediate-factoring.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/Generic/switch-crit-edge-constant.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/Generic/switch-lower-feature-2.ll | 18 | ||||
-rw-r--r-- | test/CodeGen/Generic/switch-lower-feature.ll | 10 |
5 files changed, 17 insertions, 17 deletions
diff --git a/test/CodeGen/Generic/SwitchLowering.ll b/test/CodeGen/Generic/SwitchLowering.ll index 37bfffaa02..a8c14f18a0 100644 --- a/test/CodeGen/Generic/SwitchLowering.ll +++ b/test/CodeGen/Generic/SwitchLowering.ll @@ -1,4 +1,4 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep cmp | wc -l | grep 1 +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep cmp | count 1 ; PR964 sbyte* %FindChar(sbyte* %CurPtr) { diff --git a/test/CodeGen/Generic/phi-immediate-factoring.ll b/test/CodeGen/Generic/phi-immediate-factoring.ll index 70fa9e7624..e0f675976d 100644 --- a/test/CodeGen/Generic/phi-immediate-factoring.ll +++ b/test/CodeGen/Generic/phi-immediate-factoring.ll @@ -1,5 +1,5 @@ ; PR1296 -; RUN: llvm-as < %s | llc -march=x86 | grep {movl \$1} | wc -l | grep 1 +; RUN: llvm-as < %s | llc -march=x86 | grep {movl \$1} | count 1 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64" target triple = "i686-apple-darwin8" diff --git a/test/CodeGen/Generic/switch-crit-edge-constant.ll b/test/CodeGen/Generic/switch-crit-edge-constant.ll index ef986e0ed5..c9d027bade 100644 --- a/test/CodeGen/Generic/switch-crit-edge-constant.ll +++ b/test/CodeGen/Generic/switch-crit-edge-constant.ll @@ -1,6 +1,6 @@ ; PR925 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | \ -; RUN: grep mov.*str1 | wc -l | grep 1 +; RUN: grep mov.*str1 | count 1 target endian = little target pointersize = 32 diff --git a/test/CodeGen/Generic/switch-lower-feature-2.ll b/test/CodeGen/Generic/switch-lower-feature-2.ll index 6552cb1b34..5e532a8db3 100644 --- a/test/CodeGen/Generic/switch-lower-feature-2.ll +++ b/test/CodeGen/Generic/switch-lower-feature-2.ll @@ -1,13 +1,13 @@ ; RUN: llvm-as < %s | llc -march=x86 -o %t -f -; RUN: grep jb %t | wc -l | grep 1 -; RUN: grep \\\$6 %t | wc -l | grep 2 -; RUN: grep 1024 %t | wc -l | grep 1 -; RUN: grep 1023 %t | wc -l | grep 1 -; RUN: grep 119 %t | wc -l | grep 1 -; RUN: grep JTI %t | wc -l | grep 2 -; RUN: grep jg %t | wc -l | grep 1 -; RUN: grep ja %t | wc -l | grep 1 -; RUN: grep js %t | wc -l | grep 1 +; RUN: grep jb %t | count 1 +; RUN: grep \\\$6 %t | count 2 +; RUN: grep 1024 %t | count 1 +; RUN: grep 1023 %t | count 1 +; RUN: grep 119 %t | count 1 +; RUN: grep JTI %t | count 2 +; RUN: grep jg %t | count 1 +; RUN: grep ja %t | count 1 +; RUN: grep js %t | count 1 target triple = "i686-pc-linux-gnu" diff --git a/test/CodeGen/Generic/switch-lower-feature.ll b/test/CodeGen/Generic/switch-lower-feature.ll index 71dbc26b8f..989693cf3f 100644 --- a/test/CodeGen/Generic/switch-lower-feature.ll +++ b/test/CodeGen/Generic/switch-lower-feature.ll @@ -1,8 +1,8 @@ -; RUN: llvm-as < %s | llc -march=x86 -o - | grep \$7 | wc -l | grep 1 -; RUN: llvm-as < %s | llc -march=x86 -o - | grep \$6 | wc -l | grep 1 -; RUN: llvm-as < %s | llc -march=x86 -o - | grep 1024 | wc -l | grep 1 -; RUN: llvm-as < %s | llc -march=x86 -o - | grep jb | wc -l | grep 2 -; RUN: llvm-as < %s | llc -march=x86 -o - | grep je | wc -l | grep 1 +; RUN: llvm-as < %s | llc -march=x86 -o - | grep \$7 | count 1 +; RUN: llvm-as < %s | llc -march=x86 -o - | grep \$6 | count 1 +; RUN: llvm-as < %s | llc -march=x86 -o - | grep 1024 | count 1 +; RUN: llvm-as < %s | llc -march=x86 -o - | grep jb | count 2 +; RUN: llvm-as < %s | llc -march=x86 -o - | grep je | count 1 define i32 @main(i32 %tmp158) { entry: |