[PATCH] D123748: [ValueTracking] Added support to deduce PHI Nodes values being a power of 2
David Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 14 11:48:44 PDT 2022
davidxl added inline comments.
================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:2058
+ // be a constant value.
+ if (!match(Start, m_Power2()) || match(Start, m_SignMask()))
+ return false;
----------------
is the power2 check for start done above already?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123748/new/
https://reviews.llvm.org/D123748
More information about the llvm-commits
mailing list