This is an archive of the discontinued LLVM Phabricator instance.

[msan] Avoid unnecessary PC increment/decrement
ClosedPublic

Authored by vitalybuka on Aug 11 2022, 9:37 AM.

Diff Detail

Event Timeline

vitalybuka created this revision.Aug 11 2022, 9:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 11 2022, 9:37 AM
Herald added a subscriber: Enna1. · View Herald Transcript
vitalybuka requested review of this revision.Aug 11 2022, 9:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 11 2022, 9:37 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka retitled this revision from [msan] Avoid unnecacary pc increment/decrement to [msan] Avoid unnecessary PC increment/decrement.Aug 11 2022, 9:50 AM
kda added a comment.EditedAug 11 2022, 12:18 PM

Is the idea here, that since the name is being preserved, it is not necessary to have the line number where the variable is declared?
I feel like the way it is currently implemented matches the heap tracking, as the stack points to where the allocation is done.

Also, with introduction of flag to suppress variable names, then better to get the line right.

resolved: nevermind, convinced valid verbally.

kda accepted this revision.Aug 11 2022, 2:19 PM
This revision is now accepted and ready to land.Aug 11 2022, 2:19 PM
This revision was automatically updated to reflect the committed changes.