summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/optimize-max-2.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/optimize-max-2.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/optimize-max-2.ll')
-rw-r--r--test/CodeGen/X86/optimize-max-2.ll8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/CodeGen/X86/optimize-max-2.ll b/test/CodeGen/X86/optimize-max-2.ll
index 8851c5b1a3..ce0843e425 100644
--- a/test/CodeGen/X86/optimize-max-2.ll
+++ b/test/CodeGen/X86/optimize-max-2.ll
@@ -1,6 +1,8 @@
-; RUN: llc < %s -march=x86-64 > %t
-; RUN: grep cmov %t | count 2
-; RUN: grep jne %t | count 1
+; RUN: llc < %s -march=x86-64 | grep cmov %t | count 2
+; RUN: llc < %s -march=x86-64 | FileCheck %s
+
+; CHECK: jne
+; CHECK-NOT: jne
; LSR's OptimizeMax function shouldn't try to eliminate this max, because
; it has three operands.