Add an omitted case for AssumeSymInt.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56334 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/BasicConstraintManager.cpp b/lib/Analysis/BasicConstraintManager.cpp
index 2edbd80..9ff44e0 100644
--- a/lib/Analysis/BasicConstraintManager.cpp
+++ b/lib/Analysis/BasicConstraintManager.cpp
@@ -222,6 +222,12 @@
else
return AssumeSymEQ(St, C.getSymbol(), C.getInt(), isFeasible);
+ case BinaryOperator::GT:
+ if (Assumption)
+ return AssumeSymGT(St, C.getSymbol(), C.getInt(), isFeasible);
+ else
+ return AssumeSymLE(St, C.getSymbol(), C.getInt(), isFeasible);
+
case BinaryOperator::GE:
if (Assumption)
return AssumeSymGE(St, C.getSymbol(), C.getInt(), isFeasible);