[all-commits] [llvm/llvm-project] f72015: [mlir] Add transformation to wrap scf::while in ze...

Jerry Wu via All-commits all-commits at lists.llvm.org
Thu Feb 8 14:52:21 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7201505a6ec7a0f904d2f09cece5c770058a991
      https://github.com/llvm/llvm-project/commit/f7201505a6ec7a0f904d2f09cece5c770058a991
  Author: Jerry Wu <cheyuw at google.com>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/Transforms/Transforms.h
    M mlir/lib/Dialect/SCF/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/SCF/Transforms/WrapInZeroTripCheck.cpp
    A mlir/test/Dialect/SCF/wrap-while-loop-in-zero-trip-check.mlir
    M mlir/test/lib/Dialect/SCF/CMakeLists.txt
    A mlir/test/lib/Dialect/SCF/TestSCFWrapInZeroTripCheck.cpp
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  [mlir] Add transformation to wrap scf::while in zero-trip-check (#81050)

Add `scf::wrapWhileLoopInZeroTripCheck` to wrap scf while loop in
zero-trip-check.




More information about the All-commits mailing list