[all-commits] [llvm/llvm-project] 509ee6: [PatternMatch] Fix matching order for `m_c_Intrins...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Thu Nov 6 09:53:15 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 509ee6baa6f463b6c69099cc97a195614cf8382a
      https://github.com/llvm/llvm-project/commit/509ee6baa6f463b6c69099cc97a195614cf8382a
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2025-11-07 (Fri, 07 Nov 2025)

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

  Log Message:
  -----------
  [PatternMatch] Fix matching order for `m_c_Intrinsic` (#166047)

`Op0` should always be checked before `Op1`. Otherwise it may not work
as expected when `Op1` contains `m_Deferred`.



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