HomePhabricator

[MLIR][cmake] Fix unittest/Tablegen by special casing LLVMMLIRTableGen

Authored by stephenneuendorffer on May 17 2020, 3:17 PM.

Description

[MLIR][cmake] Fix unittest/Tablegen by special casing LLVMMLIRTableGen

unittest/Tablegen generates an executable that depends on MLIRIR and
LLVMMLIRTableGen. Avoid specifying linkage dependence on LLVM
libraries here because then everyone has to depend on those libraries.

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