[all-commits] [llvm/llvm-project] 286909: PatternMatch: Add matchers for positive or negativ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Mar 27 02:19:39 PDT 2026


  Branch: refs/heads/users/arsenm/pattern-match/add-m_PosInf-m_NegInf-matchers
  Home:   https://github.com/llvm/llvm-project
  Commit: 286909ac60d58576b615369b6b203a8a8fa56cf9
      https://github.com/llvm/llvm-project/commit/286909ac60d58576b615369b6b203a8a8fa56cf9
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-03-27 (Fri, 27 Mar 2026)

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

  Log Message:
  -----------
  PatternMatch: Add matchers for positive or negative infinity

The existing m_Inf deceptively matches both positive and negative
infinities. Add variants that match the specific sign.



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