This is an archive of the discontinued LLVM Phabricator instance.

[CallPromotionUtils] Add missing promotion legality check to tryPromoteCall.
ClosedPublic

Authored by hjyamauchi on Feb 27 2020, 2:39 PM.

Details

Summary

This fixes the crash that led to the revert of D69591.

Diff Detail

Event Timeline

hjyamauchi created this revision.Feb 27 2020, 2:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 27 2020, 2:39 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
davidxl accepted this revision.Feb 27 2020, 2:57 PM

lgtm

This revision is now accepted and ready to land.Feb 27 2020, 2:57 PM
This revision was automatically updated to reflect the committed changes.