summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/BlockGenerators.cpp
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2012-12-29 23:57:18 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2012-12-29 23:57:18 +0000
commitae2d83ec410b2959b7fa4bf5e3f9f9fdf8ef8b19 (patch)
treeb2fff4aa17ba01f54f3d968cda9a9f9c1729b774 /polly/lib/CodeGen/BlockGenerators.cpp
parent1bb59b0dcfccdaada07e2d180d5929a2dd0b1493 (diff)
downloadbcm5719-llvm-ae2d83ec410b2959b7fa4bf5e3f9f9fdf8ef8b19.tar.gz
bcm5719-llvm-ae2d83ec410b2959b7fa4bf5e3f9f9fdf8ef8b19.zip
Formatting: Break lines after binary operators such as '&&'
assert(Condition && "Text"); -> assert(Condition && "Text); This aligns Polly with the style used in LLVM. llvm-svn: 171242
Diffstat (limited to 'polly/lib/CodeGen/BlockGenerators.cpp')
-rw-r--r--polly/lib/CodeGen/BlockGenerators.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/polly/lib/CodeGen/BlockGenerators.cpp b/polly/lib/CodeGen/BlockGenerators.cpp
index 75122cadab9..ca2fdacac87 100644
--- a/polly/lib/CodeGen/BlockGenerators.cpp
+++ b/polly/lib/CodeGen/BlockGenerators.cpp
@@ -186,8 +186,8 @@ public:
if (!IV)
return Expr;
- assert(Expr->getNumOperands() == 2
- && "An AddRecExpr with more than two operands can not be rewritten.");
+ assert(Expr->getNumOperands() == 2 &&
+ "An AddRecExpr with more than two operands can not be rewritten.");
const SCEV *Base, *Step, *IVExpr, *Product;
@@ -439,8 +439,8 @@ std::vector<Value*> BlockGenerator::getMemoryAccessIndex(
__isl_keep isl_map *AccessRelation, Value *BaseAddress,
ValueMapT &BBMap, ValueMapT &GlobalMap) {
- assert((isl_map_dim(AccessRelation, isl_dim_out) == 1)
- && "Only single dimensional access functions supported");
+ assert((isl_map_dim(AccessRelation, isl_dim_out) == 1) &&
+ "Only single dimensional access functions supported");
std::vector<Value *> IVS;
for (unsigned i = 0; i < Statement.getNumIterators(); ++i) {
@@ -482,8 +482,8 @@ Value *BlockGenerator::generateLocationAccessed(const Instruction *Inst,
isl_map *CurrentAccessRelation = Access.getAccessRelation();
isl_map *NewAccessRelation = Access.getNewAccessRelation();
- assert(isl_map_has_equal_space(CurrentAccessRelation, NewAccessRelation)
- && "Current and new access function use different spaces");
+ assert(isl_map_has_equal_space(CurrentAccessRelation, NewAccessRelation) &&
+ "Current and new access function use different spaces");
Value *NewPointer;
OpenPOWER on IntegriCloud