[PATCH] D153773: ValueTracking: Handle ptrmask in computeKnownBits
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 26 08:02:36 PDT 2023
nikic added inline comments.
================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:1719
+ const Value *Mask = I->getOperand(1);
+ Known2 = KnownBits(Mask->getType()->getIntegerBitWidth());
+ computeKnownBits(Mask, Known2, Depth + 1, Q);
----------------
This will assert if ptrmask is working on vectors.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153773/new/
https://reviews.llvm.org/D153773
More information about the llvm-commits
mailing list