summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/lsr-normalization.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/lsr-normalization.ll')
-rw-r--r--test/CodeGen/X86/lsr-normalization.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/X86/lsr-normalization.ll b/test/CodeGen/X86/lsr-normalization.ll
index 932141d044..bbf8f010ef 100644
--- a/test/CodeGen/X86/lsr-normalization.ll
+++ b/test/CodeGen/X86/lsr-normalization.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep div | count 1
+; RUN: llc < %s -march=x86-64 | FileCheck %s
; rdar://8168938
; This testcase involves SCEV normalization with the exit value from
@@ -6,6 +6,9 @@
; loop. The expression should be properly normalized and simplified,
; and require only a single division.
+; CHECK: div
+; CHECK-NOT: div
+
%0 = type { %0*, %0* }
@0 = private constant [13 x i8] c"Result: %lu\0A\00" ; <[13 x i8]*> [#uses=1]