[llvm] r204166 - Fix test lsr-normalization.ll broken in r204161.

Michael Zolotukhin mzolotukhin at apple.com
Tue Mar 18 11:18:00 PDT 2014


Author: mzolotukhin
Date: Tue Mar 18 13:17:59 2014
New Revision: 204166

URL: http://llvm.org/viewvc/llvm-project?rev=204166&view=rev
Log:
Fix test lsr-normalization.ll broken in r204161.

Modified:
    llvm/trunk/test/CodeGen/X86/lsr-normalization.ll

Modified: llvm/trunk/test/CodeGen/X86/lsr-normalization.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/lsr-normalization.ll?rev=204166&r1=204165&r2=204166&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/lsr-normalization.ll (original)
+++ llvm/trunk/test/CodeGen/X86/lsr-normalization.ll Tue Mar 18 13:17:59 2014
@@ -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* }
 





More information about the llvm-commits mailing list