This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Don't crash on for loops with cond variables and no increment
ClosedPublic

Authored by bkramer on Mar 19 2021, 12:41 PM.

Details

Summary

This looks like an oversight from a875721d8a2d, creating IR that refers
to for.inc even if it doesn't exist.

Diff Detail

Event Timeline

bkramer requested review of this revision.Mar 19 2021, 12:41 PM
bkramer created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMar 19 2021, 12:41 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
rupprecht accepted this revision.Mar 19 2021, 12:45 PM

Thanks!

This revision is now accepted and ready to land.Mar 19 2021, 12:45 PM

Landing this as it's a pretty bad crasher. Feel free to point out all my mistakes in post-commit review :)

This revision was landed with ongoing or failed builds.Mar 19 2021, 12:48 PM
This revision was automatically updated to reflect the committed changes.