[all-commits] [llvm/llvm-project] 726ffd: [NFC][Cloning] Replace IdentityMD set with a predi...

Artem Pianykh via All-commits all-commits at lists.llvm.org
Wed Mar 12 16:33:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 726ffd361cd932ff3b44e6a6b68bf1dbfd7802e1
      https://github.com/llvm/llvm-project/commit/726ffd361cd932ff3b44e6a6b68bf1dbfd7802e1
  Author: Artem Pianykh <artem.pyanykh at gmail.com>
  Date:   2025-03-12 (Wed, 12 Mar 2025)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/Cloning.h
    M llvm/include/llvm/Transforms/Utils/ValueMapper.h
    M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
    M llvm/lib/Transforms/Utils/CloneFunction.cpp
    M llvm/lib/Transforms/Utils/ValueMapper.cpp

  Log Message:
  -----------
  [NFC][Cloning] Replace IdentityMD set with a predicate in ValueMapper (#129147)


Summary:
We used the set only to check if it contains certain metadata nodes.
Replacing the set with a predicate makes the intention clearer and the
API more general.

Test Plan:
ninja check-all



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