[all-commits] [llvm/llvm-project] 325b58: [mlir][cf] Print message in cf.assert to LLVM lowe...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Thu Dec 15 08:45:52 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 325b58d59f0073c364b29d6e125b809c76484a16
https://github.com/llvm/llvm-project/commit/325b58d59f0073c364b29d6e125b809c76484a16
Author: Matthias Springer <springerm at google.com>
Date: 2022-12-15 (Thu, 15 Dec 2022)
Changed paths:
M mlir/include/mlir/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.h
M mlir/include/mlir/Dialect/LLVMIR/FunctionCallUtils.h
M mlir/lib/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.cpp
M mlir/lib/Dialect/LLVMIR/IR/FunctionCallUtils.cpp
A mlir/test/Integration/Dialect/ControlFlow/assert.mlir
M mlir/test/lib/Dialect/CMakeLists.txt
A mlir/test/lib/Dialect/ControlFlow/CMakeLists.txt
A mlir/test/lib/Dialect/ControlFlow/TestAssert.cpp
M mlir/tools/mlir-opt/CMakeLists.txt
M mlir/tools/mlir-opt/mlir-opt.cpp
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
Log Message:
-----------
[mlir][cf] Print message in cf.assert to LLVM lowering
The assert message was previously ignored. The lowered IR now calls `puts` it in case of a failed assertion.
Differential Revision: https://reviews.llvm.org/D138647
More information about the All-commits
mailing list