summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86
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
commited0a7761e5f249aad4c9d0e85f268c1b5df798ca (patch)
tree723933f98422938b2d0c1773a3fe07620726b799 /llvm/test/CodeGen/X86
parent28f46d9f390123b822f82403649284d6f61e6153 (diff)
downloadbcm5719-llvm-ed0a7761e5f249aad4c9d0e85f268c1b5df798ca.tar.gz
bcm5719-llvm-ed0a7761e5f249aad4c9d0e85f268c1b5df798ca.zip
Add stride normalization to SCEV Normalize/Denormalize transformation.
llvm-svn: 204161
Diffstat (limited to 'llvm/test/CodeGen/X86')
-rw-r--r--llvm/test/CodeGen/X86/lsr-normalization.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/lsr-normalization.ll b/llvm/test/CodeGen/X86/lsr-normalization.ll
index bbf8f010efd..2c667349953 100644
--- a/llvm/test/CodeGen/X86/lsr-normalization.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud