We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da827d0 commit f4f5e25Copy full SHA for f4f5e25
llvm/include/llvm/Analysis/ValueLattice.h
@@ -281,7 +281,7 @@ class ValueLatticeElement {
281
return std::nullopt;
282
}
283
284
- ConstantRange asConstantRange(Type *Ty, bool UndefAllowed = false) {
+ ConstantRange asConstantRange(Type *Ty, bool UndefAllowed = false) const {
285
assert(Ty->isIntOrIntVectorTy() && "Must be integer type");
286
if (isConstantRange(UndefAllowed))
287
return getConstantRange();
0 commit comments