summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/switch-crit-edge-constant.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/switch-crit-edge-constant.ll')
-rw-r--r--test/CodeGen/X86/switch-crit-edge-constant.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGen/X86/switch-crit-edge-constant.ll b/test/CodeGen/X86/switch-crit-edge-constant.ll
index 1f2ab0d..18f987e 100644
--- a/test/CodeGen/X86/switch-crit-edge-constant.ll
+++ b/test/CodeGen/X86/switch-crit-edge-constant.ll
@@ -1,6 +1,8 @@
; PR925
-; RUN: llc < %s -march=x86 | \
-; RUN: grep mov.*str1 | count 1
+; RUN: llc < %s -march=x86 | FileCheck %s
+
+; CHECK: {{mov.*str1}}
+; CHECK-NOT: {{mov.*str1}}
target datalayout = "e-p:32:32"
target triple = "i686-apple-darwin8.7.2"
OpenPOWER on IntegriCloud