Skip to content

Commit

Permalink
gitattributes: .png and .txt are no text files
Browse files Browse the repository at this point in the history
llvm-svn: 187326
  • Loading branch information
tobiasgrosser committed Jul 28, 2013
1 parent baf51e3 commit 983e785
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions polly/.gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Auto detect text files and perform LF normalization
* text eol=lf
*.png -text
*.pdf -text
10 changes: 5 additions & 5 deletions polly/lib/Analysis/ScopDetection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ bool ScopDetection::isValidCFG(BasicBlock &BB,

if (!isAffineExpr(&Context.CurRegion, LHS, *SE) ||
!isAffineExpr(&Context.CurRegion, RHS, *SE)) {
INVALID(AffFunc,
"Non affine branch in BB '" << BB.getName() << "' with LHS: "
<< *LHS << " and RHS: " << *RHS);
INVALID(AffFunc, "Non affine branch in BB '" << BB.getName()
<< "' with LHS: " << *LHS
<< " and RHS: " << *RHS);
return false;
}
}
Expand Down Expand Up @@ -468,8 +468,8 @@ Region *ScopDetection::expandRegion(Region &R) {
}
}

DEBUG(if (LastValidRegion)
dbgs() << "\tto " << LastValidRegion->getNameStr() << "\n";
DEBUG(if (LastValidRegion) dbgs() << "\tto " << LastValidRegion->getNameStr()
<< "\n";
else dbgs() << "\tExpanding " << R.getNameStr() << " failed\n";);

return LastValidRegion;
Expand Down

0 comments on commit 983e785

Please sign in to comment.