[Mlir-commits] [mlir] [mlir][EmitC] Remove unused attribute from verbatim op (PR #80142)

Simon Camphausen llvmlistbot at llvm.org
Wed Jan 31 05:37:05 PST 2024


https://github.com/simon-camp created https://github.com/llvm/llvm-project/pull/80142

The uses of the attribute were removed in code review of #79584, but it's definition was inadvertently kept.

>From 58af1cad5d541d11f70b7677ef9bfb509a992634 Mon Sep 17 00:00:00 2001
From: Simon Camphausen <simon.camphausen at iml.fraunhofer.de>
Date: Wed, 31 Jan 2024 13:31:58 +0000
Subject: [PATCH] [mlir][EmitC] Remove unused attribute from verbatim op

---
 mlir/include/mlir/Dialect/EmitC/IR/EmitC.td | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
index ca040f2555e13..ada64f10a1675 100644
--- a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
+++ b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
@@ -574,10 +574,7 @@ def EmitC_VerbatimOp : EmitC_Op<"verbatim"> {
     ```
   }];
 
-  let arguments = (ins
-    StrAttr:$value,
-    UnitAttr:$trailing_semicolon
-  );
+  let arguments = (ins StrAttr:$value);
   let assemblyFormat = "$value attr-dict";
 }
 



More information about the Mlir-commits mailing list