summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2014-03-18 17:34:03 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2014-03-18 17:34:03 +0000
commit13ca05e2b8d2162d60f6997c865cb0593db55623 (patch)
tree11460c04a1030c275617dcb6cbc6717656f4dba0 /test
parent6077ca9abb198829cce6c1cbbe8580c6ca1d2e9e (diff)
downloadllvm-13ca05e2b8d2162d60f6997c865cb0593db55623.tar.gz
llvm-13ca05e2b8d2162d60f6997c865cb0593db55623.tar.bz2
llvm-13ca05e2b8d2162d60f6997c865cb0593db55623.tar.xz
Add stride normalization to SCEV Normalize/Denormalize transformation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204161 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/lsr-normalization.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/X86/lsr-normalization.ll b/test/CodeGen/X86/lsr-normalization.ll
index bbf8f010ef..2c66734995 100644
--- a/test/CodeGen/X86/lsr-normalization.ll
+++ b/test/CodeGen/X86/lsr-normalization.ll
@@ -1,4 +1,5 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; REQUIRES: asserts
+; RUN: llc -debug < %s -march=x86-64 2>&1 | FileCheck %s
; rdar://8168938
; This testcase involves SCEV normalization with the exit value from
@@ -6,6 +7,8 @@
; 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