[Mlir-commits] [mlir] [mlir][emitc] DCE unimplemented decls (PR #121253)

Maksim Levental llvmlistbot at llvm.org
Fri Dec 27 23:29:44 PST 2024


https://github.com/makslevental created https://github.com/llvm/llvm-project/pull/121253

There are no implementations for these methods. This causes linker errors in certain build configurations

>From deb6d22b7d5d29e57f69ac37b59dbdd3321002f8 Mon Sep 17 00:00:00 2001
From: Maksim Levental <maksim.levental at gmail.com>
Date: Sat, 28 Dec 2024 01:29:32 -0600
Subject: [PATCH] [mlir][emitc] DCE unimplemented decls

There are no implementations for these methods. This causes linker errors in certain build configurations
---
 mlir/include/mlir/Dialect/EmitC/IR/EmitC.td | 2 --
 1 file changed, 2 deletions(-)

diff --git a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
index fc5a33541533a7..729a573b71c97d 100644
--- a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
+++ b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
@@ -1305,8 +1305,6 @@ def EmitC_IfOp : EmitC_Op<"if",
       Block* body = getBody(1);
       return OpBuilder::atBlockEnd(body, listener);
     }
-    Block* thenBlock();
-    Block* elseBlock();
   }];
   let hasCustomAssemblyFormat = 1;
 }



More information about the Mlir-commits mailing list