[all-commits] [llvm/llvm-project] a5a8c1: Create the MLIR Reduce framework

Mauricio Sifontes via All-commits all-commits at lists.llvm.org
Mon Jul 6 18:15:49 PDT 2020


  Branch: refs/heads/arcpatch-D82803_1
  Home:   https://github.com/llvm/llvm-project
  Commit: a5a8c1ed5660b4ef0c83b3819702a43a23af2cf2
      https://github.com/llvm/llvm-project/commit/a5a8c1ed5660b4ef0c83b3819702a43a23af2cf2
  Author: Mauricio Sifontes <sifontes at google.com>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

  Changed paths:
    A mlir/include/mlir/Reducer/Tester.h
    M mlir/lib/CMakeLists.txt
    A mlir/lib/Reducer/CMakeLists.txt
    A mlir/lib/Reducer/Tester.cpp
    M mlir/test/CMakeLists.txt
    A mlir/test/mlir-reduce/test.bat
    A mlir/test/mlir-reduce/test.sh
    A mlir/test/mlir-reduce/testcase-linux.mlir
    A mlir/test/mlir-reduce/testcase-windows.mlir
    M mlir/tools/CMakeLists.txt
    A mlir/tools/mlir-reduce/CMakeLists.txt
    A mlir/tools/mlir-reduce/mlir-reduce.cpp

  Log Message:
  -----------
  Create the MLIR Reduce framework

Create the framework and testing environment for MLIR Reduce - a tool
with the objective to reduce large test cases into smaller ones while
preserving their interesting behavior.

Implement the framework to parse the command line arguments, parse the
input MLIR test case into a module and call reduction passes on the MLIR module.

Implement the Tester class which allows the different reduction passes to test the
interesting behavior of the generated reduced variants of the test case and keep track
of the most reduced generated variant.

Reviewed By: jpienaar

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




More information about the All-commits mailing list