From 0d5bae41fb86188d62dbc39de629ae0de71f93e0 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 20 Jul 2009 22:41:51 +0000 Subject: [PATCH] Minor code simplification. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76496 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/ScalarEvolution.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index c888a7a9ec5..04ddc4e1a7c 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -2632,7 +2632,7 @@ ScalarEvolution::getUnsignedRange(const SCEV *S) { APInt Max = APIntOps::umax(StartRange.getUnsignedMax(), EndRange.getUnsignedMax()); if (Min.isMinValue() && Max.isMaxValue()) - return ConstantRange(Min.getBitWidth(), /*isFullSet=*/true); + return FullSet; return ConstantRange(Min, Max+1); } }