[all-commits] [llvm/llvm-project] f16310: llvm-reduce: Handle cloning MachineFrameInfo and s...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Apr 14 18:25:18 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f163106f394a57708b1a12d321231a200372023d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-04-14 (Thu, 14 Apr 2022)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineFrameInfo.h
    A llvm/test/tools/llvm-reduce/mir/preserve-frame-info.mir
    M llvm/tools/llvm-reduce/ReducerWorkItem.cpp

  Log Message:
  llvm-reduce: Handle cloning MachineFrameInfo and stack objects

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 (isStatepointSpillSlot,
ObjectSSPLayout, and ObjectSExt/ObjectZExt).

More information about the All-commits mailing list