This is an archive of the discontinued LLVM Phabricator instance.

Fix bug26682 -- IndVar breaks LCSSA
AbandonedPublic

Authored by david2050 on Feb 23 2016, 8:26 AM.

Details

Reviewers
wmi
Summary

This fixes a bug where the initial value reaching definition is needs
to be widen and there is a cached widening operation which dominates
but is defined inside a different loop that is not an outer loop.

https://llvm.org/bugs/show_bug.cgi?id=26682

Diff Detail

Event Timeline

david2050 updated this revision to Diff 48819.Feb 23 2016, 8:26 AM
david2050 retitled this revision from to Fix bug26682 -- IndVar breaks LCSSA.
david2050 updated this object.
david2050 updated this object.
david2050 edited subscribers, added: david2050, freik, llvm-commits; removed: mzolotukhin.
wmi edited edge metadata.Feb 23 2016, 10:20 AM

I think the bug has been fixed in r259815. Please update to the head and verify whether it fixes your problem. Looks like your fix here is the same with r259815. But still many thanks for trying to help.

david2050 abandoned this revision.Feb 23 2016, 1:02 PM

Thanks Wei, you are correct that master fixes this problem.