diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-10-19 16:37:30 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-10-19 16:37:30 +0000 |
| commit | a225ed8d2b661a5ceb6f108930b3f889501d929f (patch) | |
| tree | 306f1ea72fc85f69106cf33df3fadaa1a32186e8 /llvm/test/Transforms/IndVarSimplify/no-iv-rewrite.ll | |
| parent | 2afd661685aea4ce232ab67554f0aa3110317619 (diff) | |
| download | bcm5719-llvm-a225ed8d2b661a5ceb6f108930b3f889501d929f.tar.gz bcm5719-llvm-a225ed8d2b661a5ceb6f108930b3f889501d929f.zip | |
SCEVExpander: Don't crash when trying to merge two constant phis.
Just constant fold them so they can't cause any trouble. Fixes PR12627.
llvm-svn: 166286
Diffstat (limited to 'llvm/test/Transforms/IndVarSimplify/no-iv-rewrite.ll')
| -rw-r--r-- | llvm/test/Transforms/IndVarSimplify/no-iv-rewrite.ll | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/test/Transforms/IndVarSimplify/no-iv-rewrite.ll b/llvm/test/Transforms/IndVarSimplify/no-iv-rewrite.ll index bfdd000e38e..507f695e67c 100644 --- a/llvm/test/Transforms/IndVarSimplify/no-iv-rewrite.ll +++ b/llvm/test/Transforms/IndVarSimplify/no-iv-rewrite.ll @@ -199,7 +199,6 @@ entry: ; back to the loop iv. ; ; CHECK: loop: -; CHECK: phi i32 ; CHECK-NOT: phi ; CHECK: exit: loop: |

