summaryrefslogtreecommitdiffstats
path: root/polly/lib/Transform/IndVarSimplify.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2014-03-21 14:04:25 +0000
committerTobias Grosser <tobias@grosser.es>2014-03-21 14:04:25 +0000
commit2f4529f864bc1d86952e5a7739e6fc5871ae4f14 (patch)
tree76bed9652b2649921e939b4c11a154fe08f7a105 /polly/lib/Transform/IndVarSimplify.cpp
parenta26fc5c9db197c0a8f7619d7530c6662a059bcc8 (diff)
downloadbcm5719-llvm-2f4529f864bc1d86952e5a7739e6fc5871ae4f14.tar.gz
bcm5719-llvm-2f4529f864bc1d86952e5a7739e6fc5871ae4f14.zip
clang-format: Remove empty lines
llvm-svn: 204468
Diffstat (limited to 'polly/lib/Transform/IndVarSimplify.cpp')
-rw-r--r--polly/lib/Transform/IndVarSimplify.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/polly/lib/Transform/IndVarSimplify.cpp b/polly/lib/Transform/IndVarSimplify.cpp
index e0e52f37818..ebf35fb634b 100644
--- a/polly/lib/Transform/IndVarSimplify.cpp
+++ b/polly/lib/Transform/IndVarSimplify.cpp
@@ -992,7 +992,6 @@ const SCEVAddRecExpr *WidenIV::GetWideRecurrence(Instruction *NarrowUse) {
/// WidenIVUse - Determine whether an individual user of the narrow IV can be
/// widened. If so, return the wide clone of the user.
Instruction *WidenIV::WidenIVUse(NarrowIVDefUse DU, SCEVExpander &Rewriter) {
-
// Stop traversing the def-use chain at inner-loop phis or post-loop phis.
if (isa<PHINode>(DU.NarrowUse) &&
LI->getLoopFor(DU.NarrowUse->getParent()) != L)
@@ -1537,7 +1536,6 @@ static Value *genLoopLimit(PHINode *IndVar, const SCEV *IVCount, Loop *L,
// GEP. Avoid running SCEVExpander on a new pointer value, instead reusing
// the existing GEPs whenever possible.
if (IndVar->getType()->isPointerTy() && !IVCount->getType()->isPointerTy()) {
-
Type *OfsTy = SE->getEffectiveSCEVType(IVInit->getType());
const SCEV *IVOffset = SE->getTruncateOrSignExtend(IVCount, OfsTy);
OpenPOWER on IntegriCloud