[all-commits] [llvm/llvm-project] 28a45d: Create the framework and testing environment for M...

Mauricio Sifontes via All-commits all-commits at lists.llvm.org
Mon Jul 6 19:00:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 28a45d54a7fe722248233165fc7fdbd18d18d233
      https://github.com/llvm/llvm-project/commit/28a45d54a7fe722248233165fc7fdbd18d18d233
  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 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.




More information about the All-commits mailing list