[Mlir-commits] [mlir] d954d97 - [mlir][emitc][nfc] Update summary of opaque type

Marius Brehler llvmlistbot at llvm.org
Tue Jul 4 11:36:32 PDT 2023


Author: Marius Brehler
Date: 2023-07-04T20:36:36+02:00
New Revision: d954d9758a4f6021c2ff6edb1365e511398ae58d

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

LOG: [mlir][emitc][nfc] Update summary of opaque type

With this patch error messages are improved. So far, error messages like
`operand #0 must An opaque type` can be generated.

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D154453

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td b/mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td
index 9a73f6ff3b1dc2..7874aa2c9e3040 100644
--- a/mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td
+++ b/mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td
@@ -27,7 +27,7 @@ class EmitC_Type<string name, string typeMnemonic>
 }
 
 def EmitC_OpaqueType : EmitC_Type<"Opaque", "opaque"> {
-  let summary = "An opaque type";
+  let summary = "EmitC opaque type";
 
   let description = [{
     An opaque data type of which the value gets emitted as is.


        


More information about the Mlir-commits mailing list