[Mlir-commits] [mlir] [MLIR:LLVM] Add UWTableKind attribute (PR #135811)
Will Froom
llvmlistbot at llvm.org
Wed Apr 16 02:14:11 PDT 2025
================
@@ -855,4 +855,27 @@ def ModFlagBehaviorAttr : LLVM_EnumAttr<
let cppNamespace = "::mlir::LLVM";
}
+//===----------------------------------------------------------------------===//
+// UWTableKind
+//===----------------------------------------------------------------------===//
+
+def UWTableKindNone
+ : LLVM_EnumAttrCase<"None", "none", "None", 0>;
+def UWTableKindSync
+ : LLVM_EnumAttrCase<"Sync", "sync", "Sync", 1>;
+def UWTableKindAsync
+ : LLVM_EnumAttrCase<"Async", "async", "Async", 2>;
+def UWTableKindDefault
+ : LLVM_EnumAttrCase<"Default", "default", "Default", 2>;
+
+// UWTableKindDefault is unsupported as the llvm enum value is the same as async
+// which the generated enum converters can't deal with.
----------------
WillFroom wrote:
done
https://github.com/llvm/llvm-project/pull/135811
More information about the Mlir-commits
mailing list