[all-commits] [llvm/llvm-project] c19f0f: [PatternMatch] Make m_SpecificMask pass expected m...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Jan 3 09:20:52 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c19f0f005a1ccf21bd2f0656f90455a55413a32f
      https://github.com/llvm/llvm-project/commit/c19f0f005a1ccf21bd2f0656f90455a55413a32f
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-01-03 (Fri, 03 Jan 2025)

  Changed paths:
    M llvm/include/llvm/IR/PatternMatch.h

  Log Message:
  -----------
  [PatternMatch] Make m_SpecificMask pass expected mask by Value. NFC (#121527)

Unlike m_Mask, we don't need to modify a variable owned by the caller so
we should pass the ArrayRef by value or const reference.



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