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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Simon Camphausen (simon-camp)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/80142.diff


1 Files Affected:

- (modified) mlir/include/mlir/Dialect/EmitC/IR/EmitC.td (+1-4) 


``````````diff
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";
 }
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/80142


More information about the Mlir-commits mailing list