mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-17 15:38:40 +00:00
Add a comment about a missed opportunity.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94507 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
df6d5e0394
commit
153f1ebeb8
@ -540,6 +540,9 @@ ConstantRange::add(const ConstantRange &Other) const {
|
|||||||
|
|
||||||
ConstantRange
|
ConstantRange
|
||||||
ConstantRange::multiply(const ConstantRange &Other) const {
|
ConstantRange::multiply(const ConstantRange &Other) const {
|
||||||
|
// TODO: If either operand is a single element, round the result min anx
|
||||||
|
// max value to the appropriate multiple of that element.
|
||||||
|
|
||||||
if (isEmptySet() || Other.isEmptySet())
|
if (isEmptySet() || Other.isEmptySet())
|
||||||
return ConstantRange(getBitWidth(), /*isFullSet=*/false);
|
return ConstantRange(getBitWidth(), /*isFullSet=*/false);
|
||||||
if (isFullSet() || Other.isFullSet())
|
if (isFullSet() || Other.isFullSet())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user