From 7c1942cb8fa61e375e9da873717c833c2e5aa3ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20M=C3=BCller?= Date: Tue, 9 Jul 2024 13:15:51 +0000 Subject: [PATCH] XXX: Use interface argument for typeswitch. This should break on the current version of LLVM/MLIR. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ingo Müller --- lib/Target/SubstraitPB/Export.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/SubstraitPB/Export.cpp b/lib/Target/SubstraitPB/Export.cpp index fd398bd1dd78..e5800de7e6aa 100644 --- a/lib/Target/SubstraitPB/Export.cpp +++ b/lib/Target/SubstraitPB/Export.cpp @@ -181,8 +181,8 @@ FailureOr> exportOperation(EmitOp op) { FailureOr> exportOperation(ExpressionOpInterface op) { - return llvm::TypeSwitch>>( - op) + return llvm::TypeSwitch>>(op) .Case([&](auto op) { llvm::errs() << __PRETTY_FUNCTION__ << "\n"; op.dump();