This is an archive of the discontinued LLVM Phabricator instance.

[WIP] Ignore def operand when determining whether an instruction is remat.
Needs ReviewPublic

Authored by mtrofin on Aug 10 2021, 10:15 AM.

Details

Reviewers
stoklund
Summary

DO NOT SUBMIT (YET)

Diff Detail

Event Timeline

mtrofin created this revision.Aug 10 2021, 10:15 AM
mtrofin requested review of this revision.Aug 10 2021, 10:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 10 2021, 10:15 AM

Note: I don't mean this patch for submission (yet), it's rather meant as a question: (line 977) why should the def be a physical register mean the instruction isn't trivially rematerializable?

(ran tests, everything passes)

Thanks!