This is an archive of the discontinued LLVM Phabricator instance.

llvm-reduce: Simplify virtual register cloning
ClosedPublic

Authored by arsenm on Apr 18 2022, 7:11 AM.

Details

Summary

Just clone all the virtual registers instead of looking for def
operands. This preserves the register values used, simplifying the
rest of the code. This avoids needing to expose the register map to
target code.

Diff Detail

Event Timeline

arsenm created this revision.Apr 18 2022, 7:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 18 2022, 7:11 AM
arsenm requested review of this revision.Apr 18 2022, 7:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 18 2022, 7:11 AM
Herald added a subscriber: wdng. · View Herald Transcript
qcolombet accepted this revision.Apr 18 2022, 10:49 AM
This revision is now accepted and ready to land.Apr 18 2022, 10:49 AM