This is an archive of the discontinued LLVM Phabricator instance.

[AssumeBundles] fix crashes
ClosedPublic

Authored by Tyker on May 5 2020, 4:52 PM.

Details

Summary

this patch fixe crash/asserts found in the test-suite.
the AssumeptionCache cannot be assumed to have all assumes contrary to what i tought.
prevent generation of information for terminators, because this can create broken IR in transfromation where we insert the new terminator before removing the old one.

Diff Detail

Event Timeline

Tyker created this revision.May 5 2020, 4:52 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 5 2020, 4:52 PM

For the terminators we should be able to add a test, right?

Tyker updated this revision to Diff 262321.May 6 2020, 2:14 AM

added test for terminator

jdoerfert accepted this revision.May 6 2020, 7:27 AM

LGTM.

This revision is now accepted and ready to land.May 6 2020, 7:27 AM
This revision was automatically updated to reflect the committed changes.