[clang] [CIR][OpenCL] Add OpenCL language version module attributes (PR #219687)

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 1 18:47:44 PDT 2026


================
@@ -25,6 +25,9 @@ def CIR_Dialect : Dialect {
   let cppNamespace = "::cir";
 
   let useDefaultAttributePrinterParser = 1;
+  let hasOperationAttrVerify = 1;
+  let hasRegionArgAttrVerify = 1;
+  let hasRegionResultAttrVerify = 1;
----------------
bcardosolopes wrote:

Is the third one needed?

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


More information about the cfe-commits mailing list