Fix test lsr-normalization.ll broken in r204161.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204166 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael Zolotukhin 2014-03-18 18:17:59 +00:00
parent 370981ad17
commit 50e4d56b9f

View 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* }