Comment 11 for bug 1867173

Revision history for this message
Jonas Paulsson (jonpsson) wrote :

I tracked this down to a single commit that if reverted stops the test case from segfaulting: 2d5820c. This is a patch that improves CorrelatedValuePropagation to also handle And instructions.

I am currently working on finding the exact bug - I am not yet sure if the bug is actually in that pass or if this change merely exposes something else.

One thing I tried was to insert a clearing of the LazyValueInfo cache before each call to it. This changed the results somewhat, but llvm-lto still crashes.