[all-commits] [llvm/llvm-project] fb1e57: [MLIR][Standard] Add default lowering for `assert`

frgossen via All-commits all-commits at lists.llvm.org
Fri Jul 24 01:31:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fb1e5716877c751d561dad3483af8a4a4559a0fe
      https://github.com/llvm/llvm-project/commit/fb1e5716877c751d561dad3483af8a4a4559a0fe
  Author: Frederik Gossen <frgossen at google.com>
  Date:   2020-07-24 (Fri, 24 Jul 2020)

  Changed paths:
    M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
    M mlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir

  Log Message:
  -----------
  [MLIR][Standard] Add default lowering for `assert`

The default lowering of `assert` calls `abort` in case the assertion is
violated. The failure message is ignored but should be used by custom lowerings
that can assume more about their environment.

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




More information about the All-commits mailing list