[all-commits] [llvm/llvm-project] 25a5b7: [PatternMatch] Add capturing m_Phi matcher (NFC) (...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Jul 12 02:39:28 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25a5b7869cd13698f7556af6b4084cca835ae988
      https://github.com/llvm/llvm-project/commit/25a5b7869cd13698f7556af6b4084cca835ae988
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-07-12 (Sun, 12 Jul 2026)

  Changed paths:
    M llvm/include/llvm/IR/PatternMatch.h
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/Target/RISCV/RISCVCodeGenPrepare.cpp
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp

  Log Message:
  -----------
  [PatternMatch] Add capturing m_Phi matcher (NFC) (#208949)

Add a new capturing m_Phi matcher and use it in some patterns instead of
manually casting/checking if operand is a phi.

PR: https://github.com/llvm/llvm-project/pull/208949



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