This is an archive of the discontinued LLVM Phabricator instance.

[SimplifyCFG] Fix crash in the EXPENSIVE_CHECKS build
ClosedPublic

Authored by jroelofs on Jul 16 2020, 2:20 PM.

Details

Summary

SimplifyCFG was incorrectly reporting to the pass manager that it had not made changes after folding away a PHI. This is detected in the EXPENSIVE_CHECKS build when the function's hash changes.

Diff Detail

Event Timeline

jroelofs created this revision.Jul 16 2020, 2:20 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 16 2020, 2:20 PM
lebedev.ri accepted this revision.Jul 16 2020, 2:21 PM

LG, thank you!

This revision is now accepted and ready to land.Jul 16 2020, 2:21 PM
This revision was automatically updated to reflect the committed changes.