[Mlir-commits] [mlir] [MLIR][LLVM] Attach kernel metadata representation to `llvm.func` (PR #101314)
Tobias Gysi
llvmlistbot at llvm.org
Thu Aug 1 02:40:34 PDT 2024
================
@@ -32,6 +32,14 @@ using namespace mlir::LLVM::detail;
#include "mlir/Dialect/LLVMIR/LLVMConversionEnumsFromLLVM.inc"
+static constexpr StringLiteral vecTypeHintAttrName = "vec_type_hint";
----------------
gysit wrote:
```suggestion
static constexpr StringLiteral vecTypeHintMDName = "vec_type_hint";
```
nit: Should we use MD or MDName here since the string is only used to access the ID but not really as attribute name?
https://github.com/llvm/llvm-project/pull/101314
More information about the Mlir-commits
mailing list