We can have AddRec with loops having many predecessors. This changes an assert to an early return.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D48766
Fix overconfident assert in ScalarEvolution::isImpliedViaMerge ClosedPublic Authored by roman.shirokiy on Jun 29 2018, 4:31 AM.
Details Summary We can have AddRec with loops having many predecessors. This changes an assert to an early return.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jun 29 2018, 4:34 AM
Closed by commit rL335965: Fix overconfident assert in ScalarEvolution::isImpliedViaMerge (authored by roman.shirokiy). · Explain WhyJun 29 2018, 4:51 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 153469 lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/merge-add-rec-many-inputs.ll |
-S is not needed