================
@@ -3746,7 +3746,8 @@ def fir_DeclareReductionOp : fir_Op<"declare_reduction", 
[IsolatedFromAbove,
   }];
 
   let arguments = (ins SymbolNameAttr:$sym_name,
-                       TypeAttr:$type);
+                       TypeAttr:$type,
+                       OptionalAttr<TypeAttr>:$byref_element_type);
----------------
bhandarkar-pranav wrote:

Could you maybe add a line in the description of the op about 
`byref_element_type`, especially from the POV of why it is needed. 

https://github.com/llvm/llvm-project/pull/165714
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to