[all-commits] [llvm/llvm-project] 242d55: [mlir][arith] Add test pass for wide integer emula...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Tue Sep 20 08:26:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 242d558658cd5a480b02883e2982d7246342e0d0
      https://github.com/llvm/llvm-project/commit/242d558658cd5a480b02883e2982d7246342e0d0
  Author: Jakub Kuderski <kubak at google.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    A mlir/test/Dialect/Arithmetic/test-emulate-wide-int-pass.mlir
    M mlir/test/Integration/Dialect/Arithmetic/CPU/test-wide-int-emulation-constants-i16.mlir
    M mlir/test/Integration/Dialect/Arithmetic/CPU/test-wide-int-emulation-muli-i16.mlir
    A mlir/test/lib/Dialect/Arithmetic/CMakeLists.txt
    A mlir/test/lib/Dialect/Arithmetic/TestEmulateWideInt.cpp
    M mlir/test/lib/Dialect/CMakeLists.txt
    M mlir/tools/mlir-opt/CMakeLists.txt
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  [mlir][arith] Add test pass for wide integer emulation

The new test pass allows for running wide integer emulation conversion
within specified functions only.

I intend to use it in integration tests in a way that allows me print both
original and emulated results in the same format, or even compare both results
at runtime and print on mismatch only.

Reviewed By: antiagainst

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




More information about the All-commits mailing list