[all-commits] [llvm/llvm-project] e56611: [MLIR][LLVM] Fix the import of LLVM IR metadata (#...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Thu Dec 4 04:54:56 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e56611ce15eee2a8a7655bcb89d9b7c1b1931f32
      https://github.com/llvm/llvm-project/commit/e56611ce15eee2a8a7655bcb89d9b7c1b1931f32
  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 (#170631)

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