Sometimes during folding loop invariants the resulting add recurrence may become non-invariant. This may lead to crash during next folding of recurrences expected to be invariants, which are not.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hi Alexey,
I did not understand the premise of this change -- how can the sum of two loop invariant values be a loop varying value? Can you give a specific isolated example? Or did I not misunderstand?
Comment Actions
Hi Sanjoy, there is something has changed in LLVM and I can't reproduce the bug anymore. So I'm abandoning it