[all-commits] [llvm/llvm-project] 3ad635: [PatternMatch] Add m_PtrAdd() matcher (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Feb 8 06:31:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ad63593dac390e320808f3de0e1906c5fa45c8a
      https://github.com/llvm/llvm-project/commit/3ad63593dac390e320808f3de0e1906c5fa45c8a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

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

  Log Message:
  -----------
  [PatternMatch] Add m_PtrAdd() matcher (NFC)

This matches a getelementptr i8 instruction or constant expression,
with a given pointer operand and index.




More information about the All-commits mailing list