summaryrefslogtreecommitdiffstats
path: root/polly/lib/Support/SCEVValidator.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <doerfert@cs.uni-saarland.de>2015-01-30 00:36:13 +0000
committerJohannes Doerfert <doerfert@cs.uni-saarland.de>2015-01-30 00:36:13 +0000
commit3a3799e43a9de1c0eba4f181a2ae4b632c977a4d (patch)
tree2ffe72bd37da163f2cbed97d0705c8a97e2f7a3a /polly/lib/Support/SCEVValidator.cpp
parentf170d7edb50840465c43569ad20a4a11ffee59a2 (diff)
downloadbcm5719-llvm-3a3799e43a9de1c0eba4f181a2ae4b632c977a4d.tar.gz
bcm5719-llvm-3a3799e43a9de1c0eba4f181a2ae4b632c977a4d.zip
[FIX] Activated a pointer test and removed obsolete comment
llvm-svn: 227524
Diffstat (limited to 'polly/lib/Support/SCEVValidator.cpp')
-rw-r--r--polly/lib/Support/SCEVValidator.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/polly/lib/Support/SCEVValidator.cpp b/polly/lib/Support/SCEVValidator.cpp
index 67c9e0eb1ee..57acef83461 100644
--- a/polly/lib/Support/SCEVValidator.cpp
+++ b/polly/lib/Support/SCEVValidator.cpp
@@ -329,13 +329,6 @@ public:
ValidatorResult visitUnknown(const SCEVUnknown *Expr) {
Value *V = Expr->getValue();
- // We currently only support integer types. It may be useful to support
- // pointer types, e.g. to support code like:
- //
- // if (A)
- // A[i] = 1;
- //
- // See test/CodeGen/20120316-InvalidCast.ll
if (!(Expr->getType()->isIntegerTy() || Expr->getType()->isPointerTy())) {
DEBUG(dbgs() << "INVALID: UnknownExpr is not an integer or pointer type");
return ValidatorResult(SCEVType::INVALID);
OpenPOWER on IntegriCloud