This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][NFC] Const-ify analyzeJumpTable
ClosedPublic

Authored by Amir on Feb 22 2023, 3:28 PM.

Details

Reviewers
maksfb
rafauler
Group Reviewers
Restricted Project
Commits
rG08ab4faf1aa3: [BOLT][NFC] Const-ify analyzeJumpTable
Summary

Avoid modifying BF, instead set extra output parameter and modify BF in caller
scope.

Diff Detail

Event Timeline

Amir created this revision.Feb 22 2023, 3:28 PM
Herald added a project: Restricted Project. · View Herald Transcript
Amir requested review of this revision.Feb 22 2023, 3:28 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 22 2023, 3:28 PM
rafauler added inline comments.Feb 27 2023, 2:10 PM
bolt/include/bolt/Core/JumpTable.h
70

do we have plans to use this elsewhere?

rafauler accepted this revision.Feb 27 2023, 2:16 PM

nevermind, saw the other diff in the stack, LGTM, thanks

This revision is now accepted and ready to land.Feb 27 2023, 2:16 PM
This revision was automatically updated to reflect the committed changes.