Updates LLVM usage to match
[b5059b714023](https://github.com/llvm/llvm-project/commit/b5059b714023)

PiperOrigin-RevId: 324754243
This commit is contained in:
A. Unique TensorFlower 2020-08-03 23:04:41 -07:00 committed by TensorFlow MLIR Team
parent 6c7d1a7c7e
commit bf8836effb
1 changed files with 4 additions and 4 deletions

View File

@ -27,10 +27,10 @@ std::unique_ptr<FunctionPass> createTestInferShapedTypeMethodsPass();
std::unique_ptr<Pass> createTestMaterializeBroadcastsPass(); std::unique_ptr<Pass> createTestMaterializeBroadcastsPass();
std::unique_ptr<Pass> createTestUnfuseBatchNormPass(); std::unique_ptr<Pass> createTestUnfuseBatchNormPass();
inline void registerAllMhloPasses() {
#define GEN_PASS_REGISTRATION #define GEN_PASS_REGISTRATION
#include "mlir-hlo/Dialect/mhlo/transforms/mhlo_passes.h.inc" #include "mlir-hlo/Dialect/mhlo/transforms/mhlo_passes.h.inc"
}
inline void registerAllMhloPasses() { registerMHLOPasses(); }
} // namespace mhlo } // namespace mhlo
@ -38,10 +38,10 @@ namespace lmhlo {
std::unique_ptr<Pass> createTestLhloToLLVMPass(); std::unique_ptr<Pass> createTestLhloToLLVMPass();
inline void registerAllLmhloPasses() {
#define GEN_PASS_REGISTRATION #define GEN_PASS_REGISTRATION
#include "mlir-hlo/Dialect/mhlo/transforms/lmhlo_passes.h.inc" #include "mlir-hlo/Dialect/mhlo/transforms/lmhlo_passes.h.inc"
}
inline void registerAllLmhloPasses() { registerLMHLOPasses(); }
} // namespace lmhlo } // namespace lmhlo
} // namespace mlir } // namespace mlir