[PATCH] D123936: llvm-reduce: Simplify virtual register cloning

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 18 07:11:25 PDT 2022


arsenm created this revision.
arsenm added reviewers: qcolombet, MatzeB, aeubanks, markus, reames.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

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.


https://reviews.llvm.org/D123936

Files:
  llvm/tools/llvm-reduce/ReducerWorkItem.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123936.423383.patch
Type: text/x-patch
Size: 3719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220418/dbf70285/attachment.bin>


More information about the llvm-commits mailing list