summaryrefslogtreecommitdiffstats
path: root/polly/lib/IndependentBlocks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/IndependentBlocks.cpp')
-rw-r--r--polly/lib/IndependentBlocks.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/polly/lib/IndependentBlocks.cpp b/polly/lib/IndependentBlocks.cpp
index d7864e50d54..f97a334e9d5 100644
--- a/polly/lib/IndependentBlocks.cpp
+++ b/polly/lib/IndependentBlocks.cpp
@@ -31,10 +31,10 @@
using namespace polly;
using namespace llvm;
-static cl::opt<bool>
-DisableIntraScopScalarToArray("disable-polly-intra-scop-scalar-to-array",
- cl::desc("Do not rewrite scalar to array to generate independent blocks"),
- cl::Hidden, cl::init(false), cl::cat(PollyCategory));
+static cl::opt<bool> DisableIntraScopScalarToArray(
+ "disable-polly-intra-scop-scalar-to-array",
+ cl::desc("Do not rewrite scalar to array to generate independent blocks"),
+ cl::Hidden, cl::init(false), cl::cat(PollyCategory));
namespace {
struct IndependentBlocks : public FunctionPass {
@@ -385,7 +385,8 @@ bool IndependentBlocks::translateScalarToArray(Instruction *Inst,
if (isEscapeUse(U, R))
LoadOutside.push_back(U);
- if (DisableIntraScopScalarToArray) continue;
+ if (DisableIntraScopScalarToArray)
+ continue;
if (canSynthesize(U, LI, SE, R))
continue;
@@ -473,7 +474,8 @@ bool IndependentBlocks::isIndependentBlock(const Region *R,
}
}
- if (DisableIntraScopScalarToArray) continue;
+ if (DisableIntraScopScalarToArray)
+ continue;
for (Instruction::op_iterator OI = Inst->op_begin(), OE = Inst->op_end();
OI != OE; ++OI) {
OpenPOWER on IntegriCloud