HomePhabricator

[MLIR] Use `MLIR_INCLUDE_TESTS` to conditionally compile tests.

Authored by arames on Mon, May 18, 9:44 AM.

Description

[MLIR] Use MLIR_INCLUDE_TESTS to conditionally compile tests.

This is equivalent to what is done for other projects (e.g. clang).

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

Details