Page MenuHomePhabricator

[MSAN] Handle array alloca with non-i64 size specification
ClosedPublic

Authored by loladiro on Aug 13 2022, 7:28 PM.

Details

Summary

The array size specification of the an alloca can be any integer,
so zext or trunc it to intptr before attempting to multiply it
with an intptr constant.

Diff Detail

Event Timeline

loladiro created this revision.Aug 13 2022, 7:28 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 13 2022, 7:28 PM
loladiro requested review of this revision.Aug 13 2022, 7:28 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 13 2022, 7:28 PM
eugenis accepted this revision.Aug 23 2022, 6:17 PM

LGTM

This revision is now accepted and ready to land.Aug 23 2022, 6:17 PM