summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/lsr-normalization.ll
diff options
context:
space:
mode:
authorMichael Liao <michael.liao@intel.com>2013-05-01 05:34:30 +0000
committerMichael Liao <michael.liao@intel.com>2013-05-01 05:34:30 +0000
commit9ed0a1b0653ef261961624817e534893545173f6 (patch)
tree2281cd4357186c8019ce7207f20105e5c2f3847f /test/CodeGen/X86/lsr-normalization.ll
parentaf35d86bbd9a970d5bb55595a569ea60962bf23d (diff)
downloadllvm-9ed0a1b0653ef261961624817e534893545173f6.tar.gz
llvm-9ed0a1b0653ef261961624817e534893545173f6.tar.bz2
llvm-9ed0a1b0653ef261961624817e534893545173f6.tar.xz
More rewrites of x86 codegen regression tests with FileCheck
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180837 91177308-0d34-0410-b5e6-96231b3b80d8
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]