[flang-commits] [flang] [mlir] [MLIR][OpenMP] Automate operand structure definition (PR #99508)
Jeff Niu via flang-commits
flang-commits at lists.llvm.org
Wed Jul 31 09:11:19 PDT 2024
================
@@ -408,17 +408,26 @@ class ElementsAttrBase<Pred condition, string summary> :
let storageType = [{ ::mlir::ElementsAttr }];
let returnType = [{ ::mlir::ElementsAttr }];
let convertFromStorage = "$_self";
+
+ // The underlying C++ value type of each element.
+ string elementReturnType = ?;
----------------
Mogball wrote:
Yeah I would consider it a bit off to make changes to the ODS spec only for OMP purposes. What exactly are you trying to do here?
https://github.com/llvm/llvm-project/pull/99508
More information about the flang-commits
mailing list