This is an archive of the discontinued LLVM Phabricator instance.

[TypePromotion] Only search for PHI + ZExt promotion of Integers
ClosedPublic

Authored by avieira on Aug 16 2022, 1:47 AM.

Details

Summary

This fixes the breakage mentioned by @paulwalker-arm in D111237. We should only be searching for Type Promotions of Integers for PHI + ZExt.

Diff Detail

Event Timeline

avieira created this revision.Aug 16 2022, 1:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 16 2022, 1:47 AM
avieira requested review of this revision.Aug 16 2022, 1:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 16 2022, 1:47 AM

LGTM. But, now I'm wondering whether we could handle vectors... ;p

Hehe, I don't see why not but that feels like another potential improvement rather than a fix ;) I'll go ahead and commit this to unblock @paulwalker-arm if that's OK?

samparker accepted this revision.Aug 16 2022, 2:14 AM
This revision is now accepted and ready to land.Aug 16 2022, 2:14 AM
This revision was landed with ongoing or failed builds.Aug 16 2022, 2:16 AM
This revision was automatically updated to reflect the committed changes.