This is an archive of the discontinued LLVM Phabricator instance.

[ConstantHoisting] use struct rather than tuple for adjustments
AbandonedPublic

Authored by nickdesaulniers on Jul 14 2023, 3:37 PM.

Details

Reviewers
ributzka
Summary

We pack this info in a tuple just to spread it back out for a function
call. Spreads in C++ are awkward. If I want to add an additional
element to the tuple, I need to add more calls to std::get<> later. Just
use a struct.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: hiraditya. · View Herald Transcript
nickdesaulniers requested review of this revision.Jul 14 2023, 3:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 14 2023, 3:37 PM
nickdesaulniers abandoned this revision.Jul 14 2023, 3:37 PM