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

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


Author: Simon Camphausen
Date: 2024-01-31T14:42:40+01:00
New Revision: 121a0ef0bbc1a69760b69391b387e2efda0ad922

URL: https://github.com/llvm/llvm-project/commit/121a0ef0bbc1a69760b69391b387e2efda0ad922
DIFF: https://github.com/llvm/llvm-project/commit/121a0ef0bbc1a69760b69391b387e2efda0ad922.diff

LOG: [mlir][EmitC] Remove unused attribute from verbatim op (#80142)

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

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/EmitC/IR/EmitC.td

Removed: 
    


################################################################################
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