[all-commits] [llvm/llvm-project] 245c0d: [MLIR][LLVM] Fix the import of LLVM IR metadata
Tobias Gysi via All-commits
all-commits at lists.llvm.org
Thu Dec 4 01:16:53 PST 2025
Branch: refs/heads/users/gysit/fix-metadata-import-from-llvmir
Home: https://github.com/llvm/llvm-project
Commit: 245c0de5e29dab823a971e5ad208d4a2df81a5ff
https://github.com/llvm/llvm-project/commit/245c0de5e29dab823a971e5ad208d4a2df81a5ff
Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
Date: 2025-12-04 (Thu, 04 Dec 2025)
Changed paths:
M mlir/include/mlir/Target/LLVMIR/LLVMImportInterface.h
M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMIRToLLVMTranslation.cpp
Log Message:
-----------
[MLIR][LLVM] Fix the import of LLVM IR metadata
Change `getSupportedMetadata` to return `SmallVector<unsigned>` instead
of `ArrayRef<unsigned>` and make the list non-static. This ensures
metadata identifiers are correctly obtained per LLVM context, preventing
incorrect import when multiple contexts are used (for metadata like
vector hints or work group sizes which have non-static IDs).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list