diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-06-22 12:22:04 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-06-22 12:22:04 +0000 |
| commit | f504ec22988b9d566124de49a72817afe25fa685 (patch) | |
| tree | 849fa054376bfaa134530baa305499f55541bc5d /llvm/test/Transforms | |
| parent | c5f3963bcbd5716edbd9ab49d85f5af8469e86c2 (diff) | |
| download | bcm5719-llvm-f504ec22988b9d566124de49a72817afe25fa685.tar.gz bcm5719-llvm-f504ec22988b9d566124de49a72817afe25fa685.zip | |
Add a description to the test from r211433 explaining why it's written that way.
llvm-svn: 211465
Diffstat (limited to 'llvm/test/Transforms')
| -rw-r--r-- | llvm/test/Transforms/IndVarSimplify/2014-06-21-congruent-constant.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Transforms/IndVarSimplify/2014-06-21-congruent-constant.ll b/llvm/test/Transforms/IndVarSimplify/2014-06-21-congruent-constant.ll index 3df4c210b4a..2c738de32e0 100644 --- a/llvm/test/Transforms/IndVarSimplify/2014-06-21-congruent-constant.ll +++ b/llvm/test/Transforms/IndVarSimplify/2014-06-21-congruent-constant.ll @@ -1,5 +1,11 @@ ; RUN: opt -S -loop-unswitch -instcombine -indvars < %s | FileCheck %s +; This used to crash in SCEVExpander when there were congruent phis with and +; undef incoming value from the loop header. The -loop-unswitch -instcombine is +; necessary to create just this pattern, which is essentially a nop and gets +; folded away aggressively if spelled out in IR directly. +; PR 20093 + @c = external global i32**, align 8 define void @test1() { |

