[PATCH] D156026: [InstCombine] Contracting x^2 + 2*x*y + y^2 to (x + y)^2 (integer)
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 23 08:25:11 PDT 2023
goldstein.w.n added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp:1018
+ m_Mul(m_Specific(A), m_Specific(A))));
+}
+
----------------
Since these are all very function specific helpers, can you make them lambdas instead?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156026/new/
https://reviews.llvm.org/D156026
More information about the llvm-commits
mailing list