[Mlir-commits] [mlir] [MLIR][LLVMIR][DLTI] Pass to update #llvm.target's features per relevant backend (PR #154938)
Rolf Morel
llvmlistbot at llvm.org
Sun Aug 24 15:39:05 PDT 2025
================
@@ -403,6 +403,20 @@ ModuleFlagAttr::verify(function_ref<InFlightDiagnostic()> emitError,
<< key << "'";
}
+FailureOr<Attribute> TargetFeaturesAttr::query(DataLayoutEntryKey key) {
+ if (auto stringKey = dyn_cast<StringAttr>(key)) {
----------------
rolfmorel wrote:
Sure. Have adopted it.
https://github.com/llvm/llvm-project/pull/154938
More information about the Mlir-commits
mailing list