[PATCH] D156881: [InstSimplify] Check the NonZero for power of two value
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 3 13:53:22 PDT 2023
goldstein.w.n added inline comments.
================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:2022
+ if (Q.CxtI &&
+ (match(V, m_VScale()) || match(V, m_Shl(m_VScale(), m_Value())))) {
const Function *F = Q.CxtI->getFunction();
----------------
What is this change for? Is this part of the bugfix?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156881/new/
https://reviews.llvm.org/D156881
More information about the llvm-commits
mailing list