Skip to content
Commit 272eac85 authored by Roman Shirokiy's avatar Roman Shirokiy
Browse files

Fix overconfident assert in ScalarEvolution::isImpliedViaMerge

We can have AddRec with loops having many predecessors.
This changes an assert to an early return.

Differential Revision: https://reviews.llvm.org/D48766

llvm-svn: 335965
parent 9bd44390
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment