[PATCH] D119955: [InstCombine] push constant operand down/outside in sequence of min/max intrinsics
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 16 09:23:49 PST 2022
lebedev.ri added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp:924
+ if (!InnerMM || InnerMM->getIntrinsicID() != MinMaxID ||
+ match(X, m_Constant()) || match(Y, m_Constant()))
+ return nullptr;
----------------
Constant or ImmConstant?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119955/new/
https://reviews.llvm.org/D119955
More information about the llvm-commits
mailing list