[PATCH] D123794: llvm-reduce: Handle cloning MachineFrameInfo and stack objects

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 07:21:26 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.

This didn't work at all before, and would assert on any frame
index. Also copy the other fields, which I believe should cover
everything. There are a few that are untested since MIR serialization
is apparently still missing them.


https://reviews.llvm.org/D123794

Files:
  llvm/include/llvm/CodeGen/MachineFrameInfo.h
  llvm/test/tools/llvm-reduce/mir/preserve-frame-info.mir
  llvm/tools/llvm-reduce/ReducerWorkItem.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123794.422863.patch
Type: text/x-patch
Size: 16315 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220414/91a3d674/attachment.bin>


More information about the llvm-commits mailing list