Skip to content

Commit b8d4910

Browse files
ai-edge-botcopybara-github
authored andcommitted
llvm/llvm-project#162120 removed some automatic namespace determinations, so we need to explicitly specify some namespaces now. This is needed
for the LLVM integrate. LiteRT-Converter-PiperOrigin-RevId: 820713725
1 parent 2523703 commit b8d4910

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tflite/converter/ir/tfl_ops.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5719,6 +5719,10 @@ static FailureOr<SmallVector<int32_t>> parseI32Array(AsmParser& parser) {
57195719
} // namespace TFL
57205720
} // namespace mlir
57215721

5722+
using namespace mlir; // NOLINT
5723+
using mlir::TFL::ControlType;
5724+
using mlir::TFL::LSTMKernelTypeAttr;
5725+
57225726
#include "tflite/converter/ir/tfl_ops_dialect.cc.inc"
57235727
#include "tflite/converter/ir/tfl_ops_enums.cc.inc"
57245728
#define GET_ATTRDEF_CLASSES

0 commit comments

Comments
 (0)