[AVX512] Enabling bit logic lowering
[oota-llvm.git] / test / CodeGen / X86 / optimize-max-2.ll
index effc3fc737d9ed2f01ef0dc8d404ecc8d7f78c69..10ab831c1e3da579c88fc218074f18ea15f11bb3 100644 (file)
@@ -1,6 +1,8 @@
-; RUN: llvm-as < %s | llc -march=x86-64 > %t
-; RUN: grep cmov %t | count 2
-; RUN: grep jne %t | count 1
+; RUN: llc < %s -march=x86-64 | grep cmov | 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.