summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/lsr-normalization.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/lsr-normalization.ll')
-rw-r--r--test/CodeGen/X86/lsr-normalization.ll9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/CodeGen/X86/lsr-normalization.ll b/test/CodeGen/X86/lsr-normalization.ll
index bbf8f01..2775558 100644
--- a/test/CodeGen/X86/lsr-normalization.ll
+++ b/test/CodeGen/X86/lsr-normalization.ll
@@ -1,4 +1,6 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; REQUIRES: asserts
+; 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
@@ -6,8 +8,9 @@
; loop. The expression should be properly normalized and simplified,
; and require only a single division.
-; CHECK: div
-; CHECK-NOT: div
+; DBG-NOT: DISCARDING (NORMALIZATION ISN'T INVERTIBLE)
+; ASM: div
+; ASM-NOT: div
%0 = type { %0*, %0* }