diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2007-01-15 20:27:18 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2007-01-15 20:27:18 +0000 |
commit | 1b30754ba9ced4d87bf2b3699ec4908b57f474ed (patch) | |
tree | 9b1d4807e1456fba97b82c12d68ac6a46b6f6ba4 /lib/Analysis/ScalarEvolution.cpp | |
parent | def2760d00f568cc82682cdb393556c7e12a27fd (diff) |
Unbreak VC++ build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33242 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ScalarEvolution.cpp')
-rw-r--r-- | lib/Analysis/ScalarEvolution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index f961b467b7..1df54c56ca 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -1929,7 +1929,7 @@ ComputeIterationCountExhaustively(const Loop *L, Value *Cond, bool ExitWhen) { // Couldn't symbolically evaluate. if (!CondVal) return UnknownValue; - if (CondVal->getZExtValue() == ExitWhen) { + if (CondVal->getZExtValue() == uint64_t(ExitWhen)) { ConstantEvolutionLoopExitValue[PN] = PHIVal; ++NumBruteForceTripCountsComputed; return SCEVConstant::get(ConstantInt::get(Type::Int32Ty, IterationNum)); |