STT-tensorflow/third_party/mlir/mlir-auto-init.cpp

15 lines
295 B
C++

#include "mlir/InitAllDialects.h"
#include "mlir/InitAllPasses.h"
namespace mlir {
// This target is a convenient dependency for users to auto-initialize MLIR
// internals.
static bool auto_init = []() {
registerAllDialects();
registerAllPasses();
return true;
}();
} // namespace mlir