Page MenuHomePhabricator

[GlobalISel][Utils] Optionally accept alternate COPY opcodes in getDefSrcRegIgnoringCopies
AbandonedPublic

Authored by jackoalan on Nov 25 2021, 12:06 PM.

Details

Summary

Adds optional argument to provide a set of alternate COPY opcodes for
getDefSrcRegIgnoringCopies to recognize. This is useful for instruction
selection to look through predecessors that will be directly selected as COPY
once iterated to.

Diff Detail

Event Timeline

jackoalan created this revision.Nov 25 2021, 12:06 PM
jackoalan requested review of this revision.Nov 25 2021, 12:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 25 2021, 12:06 PM

Fix clang-format issue

jackoalan abandoned this revision.Nov 26 2021, 12:49 PM

Abandoning this for now. A more sensible approach to the use case has been discovered.