[PATCH] D113508: [PatternMatch] Add m_BinOp/m_c_BinOp with specific opcode
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 16 17:10:32 PST 2021
rampitec added a comment.
In D113508#3132309 <https://reviews.llvm.org/D113508#3132309>, @spatel wrote:
> LGTM - there may be more potential uses in functions like InstCombinerImpl::SimplifyUsingDistributiveLaws() or other reassociation folds.
D114038 <https://reviews.llvm.org/D114038> adds 2 more places. That's all I found.
I can also add the same matcher to the m_UnOp for completeness, but I didn't find a use for it (and that also means there is no code which would test template instantiation).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113508/new/
https://reviews.llvm.org/D113508
More information about the llvm-commits
mailing list