[PATCH] D128758: [RISCV] Refine known bits for READ_VLENB
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 28 13:36:21 PDT 2022
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:9399
+ if (MaxVLenB == MinVLenB)
+ Known = KnownBits::makeConstant(APInt(BitWidth, MinVLenB));
break;
----------------
Just to make sure I understand, given the Known.Zero that was already done. This is equivalent to Known.One.setBit(Log2_32(MinVLenB))?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128758/new/
https://reviews.llvm.org/D128758
More information about the llvm-commits
mailing list