[PATCH] D123742: llvm-reduce: Inform MRI of used phys reg masks

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 13 15:49:23 PDT 2022


MatzeB accepted this revision.
MatzeB added a comment.
This revision is now accepted and ready to land.

> I'm not sure how to directly observe this invisible cache for a test.

Only thing I can think of is to have the `MachineVerifier` check.

Comparing this with `MIRParserImpl::setupRegisterInfo` there also needs to be some handling for landing pads (`getCustomEHPadPreservedMask(MF)`)...

Either way this change only makes things better. LGTM


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123742/new/

https://reviews.llvm.org/D123742



More information about the llvm-commits mailing list