[all-commits] [llvm/llvm-project] e20331: [Local] Use combineMetadataForCSE() in patchReplac...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Apr 3 06:32:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e20331cec0a21c4798569ee347de3a697621c9c5
      https://github.com/llvm/llvm-project/commit/e20331cec0a21c4798569ee347de3a697621c9c5
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp

  Log Message:
  -----------
  [Local] Use combineMetadataForCSE() in patchReplacementInstruction()

patchReplacementInstruction() is used for CSE-style transforms.
Avoid the need to maintain two separate lists of known metadata IDs,
which can and do go out of sync.




More information about the All-commits mailing list