Fix test lsr-normalization.ll broken in r204161.
authorMichael Zolotukhin <mzolotukhin@apple.com>
Tue, 18 Mar 2014 18:17:59 +0000 (18:17 +0000)
committerMichael Zolotukhin <mzolotukhin@apple.com>
Tue, 18 Mar 2014 18:17:59 +0000 (18:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204166 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/lsr-normalization.ll

index 2c66734995307d11e9181d924eefb726aab9246f..2775558b0cfdb01908c0ed1b25990f637de517e0 100644 (file)
@@ -1,5 +1,6 @@
 ; REQUIRES: asserts
-; RUN: llc -debug < %s -march=x86-64 2>&1 | FileCheck %s
+; RUN: llc < %s -march=x86-64 | FileCheck %s --check-prefix=ASM
+; RUN: llc -debug -o /dev/null < %s -march=x86-64 2>&1 | FileCheck %s --check-prefix=DBG
 ; rdar://8168938
 
 ; This testcase involves SCEV normalization with the exit value from
@@ -7,10 +8,9 @@
 ; loop. The expression should be properly normalized and simplified,
 ; and require only a single division.
 
-; CHECK-NOT: DISCARDING (NORMALIZATION ISN'T INVERTIBLE)
-; CHECK: _main:
-; CHECK: div
-; CHECK-NOT: div
+; DBG-NOT: DISCARDING (NORMALIZATION ISN'T INVERTIBLE)
+; ASM: div
+; ASM-NOT: div
 
 %0 = type { %0*, %0* }