[all-commits] [llvm/llvm-project] cf71a5: [ConstantRange] Support zero size in isSizeLargerT...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Sun Nov 7 12:23:01 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cf71a5ea8f95be423ebd381d21d0f9a05edc5018
https://github.com/llvm/llvm-project/commit/cf71a5ea8f95be423ebd381d21d0f9a05edc5018
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-11-07 (Sun, 07 Nov 2021)
Changed paths:
M llvm/lib/IR/ConstantRange.cpp
M llvm/unittests/IR/ConstantRangeTest.cpp
Log Message:
-----------
[ConstantRange] Support zero size in isSizeLargerThan()
>From an API perspective, it does not make a lot of sense that 0
is not a valid argument to this function. Add the exact check needed
to support it.
More information about the All-commits
mailing list