[all-commits] [llvm/llvm-project] 39b2cd: [mlir] Annotate functions used only in debug mode ...

Eugene Zhulenev via All-commits all-commits at lists.llvm.org
Fri Mar 12 11:26:10 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39b2cd4009964efda4390f84c4c4a5cc0ce3f1e1
      https://github.com/llvm/llvm-project/commit/39b2cd4009964efda4390f84c4c4a5cc0ce3f1e1
  Author: Eugene Zhulenev <ezhulenev at google.com>
  Date:   2021-03-12 (Fri, 12 Mar 2021)

  Changed paths:
    M mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp

  Log Message:
  -----------
  [mlir] Annotate functions used only in debug mode with LLVM_ATTRIBUTE_UNUSED

Functions used only in `assert` cause warnings in release mode

Reviewed By: mehdi_amini, dcaballe, ftynse

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




More information about the All-commits mailing list