Page MenuHomePhabricator

[Flang]Fix another way to crash SimplifyIntrinsics
ClosedPublic

Authored by Leporacanthicus on Aug 19 2022, 8:31 AM.

Details

Summary

Under some conditions, the defining op may be NULL, so
accept that rahter than try to use it and crash!

Adds test to prevent regression

Fixes github issue #57201

Diff Detail

Event Timeline

Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 19 2022, 8:31 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
Leporacanthicus requested review of this revision.Aug 19 2022, 8:31 AM
This revision is now accepted and ready to land.Aug 19 2022, 9:17 AM
This revision was automatically updated to reflect the committed changes.