[all-commits] [llvm/llvm-project] fc1b01: [DAG] SD Pattern Match: Operands patterns with VP ...

v01dXYZ via All-commits all-commits at lists.llvm.org
Fri Aug 16 01:46:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc1b01963857b5c04980c713145a71d6b858ad8a
      https://github.com/llvm/llvm-project/commit/fc1b01963857b5c04980c713145a71d6b858ad8a
  Author: v01dXYZ <14996868+v01dXYZ at users.noreply.github.com>
  Date:   2024-08-16 (Fri, 16 Aug 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/SDPatternMatch.h
    M llvm/lib/CodeGen/SelectionDAG/MatchContext.h
    M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp

  Log Message:
  -----------
  [DAG] SD Pattern Match: Operands patterns with VP Context  (#103308)

Currently, when using a VP match context with `sd_context_match`, only Opcode matching is possible (`m_Opc(Opcode)`).

This PR suggest a way to make patterns with Operands (eg `m_Node`, `m_Add`, ...) works with a VP context.

This PR blocks another PR https://github.com/llvm/llvm-project/pull/102877.

Co-authored-by: v01dxyz <v01dxyz at v01d.xyz>



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