[PATCH] D109696: [InstCombine] Add folds for certain icmp + vscale combinations
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 16 07:12:13 PDT 2021
david-arm added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp:1433
+ (match(Op0, m_VScale(DL)) ||
+ match(Op0, m_Shl(m_VScale(DL), m_ConstantInt(VScaleShift))) ||
+ match(Op0, m_Mul(m_VScale(DL), m_ConstantInt(VScaleMul))))) {
----------------
Hi @dmgreen, I just realised that I can probably remove the check for m_Shl now as this should be covered by D109883
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109696/new/
https://reviews.llvm.org/D109696
More information about the llvm-commits
mailing list