This is an archive of the discontinued LLVM Phabricator instance.

[ASAN] NFC: Remove redundant variable
ClosedPublic

Authored by Enna1 on Jul 24 2021, 1:12 AM.

Details

Summary

StackAlignment has only one use: StackAlignment = std::max(StackAlignment, AI.getAlignment()); So it is redundant.

Diff Detail

Event Timeline

Enna1 created this revision.Jul 24 2021, 1:12 AM
Enna1 requested review of this revision.Jul 24 2021, 1:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 24 2021, 1:12 AM
MTC accepted this revision.Jul 24 2021, 1:18 AM

Thanks for the cleanup.

This revision is now accepted and ready to land.Jul 24 2021, 1:18 AM
Enna1 added a reviewer: kcc.Jul 27 2021, 6:37 AM
vitalybuka accepted this revision.Jul 27 2021, 11:57 AM
This revision was landed with ongoing or failed builds.Jul 27 2021, 12:02 PM
This revision was automatically updated to reflect the committed changes.