HomePhabricator

[mlir] Annotate functions used only in debug mode with LLVM_ATTRIBUTE_UNUSED

Authored by ezhulenev on Mar 12 2021, 10:39 AM.

Description

[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

Details