[all-commits] [llvm/llvm-project] 5295b1: [PatternMatch] Add m_AddLike matcher (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Dec 7 05:45:29 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5295b12cd056c56c5582da91513966a0a2c8565f
https://github.com/llvm/llvm-project/commit/5295b12cd056c56c5582da91513966a0a2c8565f
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-12-07 (Thu, 07 Dec 2023)
Changed paths:
M llvm/include/llvm/IR/PatternMatch.h
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
Log Message:
-----------
[PatternMatch] Add m_AddLike matcher (NFC)
This matches either a plain "add" or an "or disjoint" that can
be converted into an add. The AddLike terminology is adopted from
the SDAG layer.
More information about the All-commits
mailing list