[PATCH] D157313: [ValueTracking] Check likely to be canonicalized constant operands first in ; NFC
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 11:41:46 PDT 2023
nikic added inline comments.
================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:2109
+ return isKnownToBeAPowerOfTwo(I->getOperand(2), OrZero, Depth, Q) &&
+ isKnownToBeAPowerOfTwo(I->getOperand(1), OrZero, Depth, Q);
case Instruction::PHI: {
----------------
Does this canonicalization actually exist?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157313/new/
https://reviews.llvm.org/D157313
More information about the llvm-commits
mailing list