[PATCH] D112721: [SCCP] Tune `zext` and `sext` processing for overdefined operand
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 28 09:48:03 PDT 2021
fhahn added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/SCCPSolver.cpp:837
+ I.getOpcode() == Instruction::SExt)) {
+ ConstantRange OpRange = ConstantRange::getFull(
+ I.getOperand(0)->getType()->getScalarSizeInBits());
----------------
could that be handled by the code above, just with using the full range for OpRange if it is overdefined?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112721/new/
https://reviews.llvm.org/D112721
More information about the llvm-commits
mailing list