[PATCH] D114610: [GlobalISel][Utils] Optionally accept alternate COPY opcodes in getDefSrcRegIgnoringCopies

Jack Andersen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 25 12:07:00 PST 2021


jackoalan created this revision.
jackoalan added a reviewer: arsenm.
Herald added subscribers: hiraditya, rovka.
jackoalan requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114610

Files:
  llvm/include/llvm/CodeGen/GlobalISel/Utils.h
  llvm/lib/CodeGen/GlobalISel/Utils.cpp
  llvm/unittests/CodeGen/GlobalISel/GISelUtilsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114610.389859.patch
Type: text/x-patch
Size: 5213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211125/94e53a84/attachment.bin>


More information about the llvm-commits mailing list