[all-commits] [llvm/llvm-project] bc2773: [llvm-reduce] Add MIR support

elavkje via All-commits all-commits at lists.llvm.org
Tue Nov 2 01:24:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc2773cb1bdfacfda773eb492e7b0cc65a78cda6
      https://github.com/llvm/llvm-project/commit/bc2773cb1bdfacfda773eb492e7b0cc65a78cda6
  Author: Markus Lavin <markus.lavin at ericsson.com>
  Date:   2021-11-02 (Tue, 02 Nov 2021)

  Changed paths:
    A llvm/test/tools/llvm-reduce/mir/instr-reduce.mir
    A llvm/test/tools/llvm-reduce/mir/instr-reduce.py
    M llvm/tools/llvm-reduce/CMakeLists.txt
    M llvm/tools/llvm-reduce/DeltaManager.cpp
    A llvm/tools/llvm-reduce/ReducerWorkItem.cpp
    A llvm/tools/llvm-reduce/ReducerWorkItem.h
    M llvm/tools/llvm-reduce/TestRunner.cpp
    M llvm/tools/llvm-reduce/TestRunner.h
    M llvm/tools/llvm-reduce/deltas/Delta.cpp
    M llvm/tools/llvm-reduce/deltas/Delta.h
    A llvm/tools/llvm-reduce/deltas/ReduceInstructionsMIR.cpp
    A llvm/tools/llvm-reduce/deltas/ReduceInstructionsMIR.h
    M llvm/tools/llvm-reduce/llvm-reduce.cpp

  Log Message:
  -----------
  [llvm-reduce] Add MIR support

The llvm-reduce tool has been extended to operate on MIR (import, clone and
export). Current limitation is that only a single machine function is
supported. A single reducer pass that operates on machine instructions (while
on SSA-form) has been added. Additional MIR specific reducer passes can be
added later as needed.

Differential Revision: https://reviews.llvm.org/D110527




More information about the All-commits mailing list