[PATCH] D156845: [ConstantRange] Calculate precise range for shl by -1
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 2 04:03:11 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/lib/IR/ConstantRange.cpp:1501
+ return ConstantRange::getNonEmpty(std::move(Max), std::move(Min) + 1);
+ } else
+ return ConstantRange::getNonEmpty(std::move(Min), std::move(Max) + 1);
----------------
No else after return
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156845/new/
https://reviews.llvm.org/D156845
More information about the llvm-commits
mailing list