This is an archive of the discontinued LLVM Phabricator instance.

[hwasan] [nfc] simplify getAllocaSizeInBytes
ClosedPublic

Authored by fmayer on Feb 3 2022, 5:43 PM.

Details

Summary

AllocaInst::getAllocationSize implements essentially the same logic as
our custom function.

Diff Detail

Event Timeline

fmayer created this revision.Feb 3 2022, 5:43 PM
fmayer requested review of this revision.Feb 3 2022, 5:43 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 3 2022, 5:43 PM
fmayer added a reviewer: hctim.Feb 3 2022, 5:44 PM
hctim accepted this revision.Feb 3 2022, 5:55 PM
This revision is now accepted and ready to land.Feb 3 2022, 5:55 PM
This revision was landed with ongoing or failed builds.Feb 3 2022, 5:59 PM
This revision was automatically updated to reflect the committed changes.