diff options
| author | Michael Zolotukhin <mzolotukhin@apple.com> | 2014-03-18 17:34:03 +0000 |
|---|---|---|
| committer | Michael Zolotukhin <mzolotukhin@apple.com> | 2014-03-18 17:34:03 +0000 |
| commit | ed0a7761e5f249aad4c9d0e85f268c1b5df798ca (patch) | |
| tree | 723933f98422938b2d0c1773a3fe07620726b799 /llvm/test/CodeGen/X86 | |
| parent | 28f46d9f390123b822f82403649284d6f61e6153 (diff) | |
| download | bcm5719-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.ll | 5 |
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 |

