[polly] bf05be5 - [polly] Reformat due to d68826dfbd98

Owen Pan via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 03:28:20 PDT 2023


Author: Owen Pan
Date: 2023-10-24T03:24:05-07:00
New Revision: bf05be5b87fccfbc84e84abe0ddc9f3c0421fda5

URL: https://github.com/llvm/llvm-project/commit/bf05be5b87fccfbc84e84abe0ddc9f3c0421fda5
DIFF: https://github.com/llvm/llvm-project/commit/bf05be5b87fccfbc84e84abe0ddc9f3c0421fda5.diff

LOG: [polly] Reformat due to d68826dfbd98

Added: 
    

Modified: 
    polly/lib/Analysis/DependenceInfo.cpp
    polly/lib/Analysis/ScopBuilder.cpp

Removed: 
    


################################################################################
diff  --git a/polly/lib/Analysis/DependenceInfo.cpp b/polly/lib/Analysis/DependenceInfo.cpp
index d58dc9917bc91fa..69257c603877ea4 100644
--- a/polly/lib/Analysis/DependenceInfo.cpp
+++ b/polly/lib/Analysis/DependenceInfo.cpp
@@ -950,8 +950,8 @@ class DependenceInfoPrinterLegacyPass final : public ScopPass {
   bool runOnScop(Scop &S) override {
     DependenceInfo &P = getAnalysis<DependenceInfo>();
 
-    OS << "Printing analysis '" << P.getPassName() << "' for "
-       << "region: '" << S.getRegion().getNameStr() << "' in function '"
+    OS << "Printing analysis '" << P.getPassName() << "' for " << "region: '"
+       << S.getRegion().getNameStr() << "' in function '"
        << S.getFunction().getName() << "':\n";
     P.printScop(OS, S);
 

diff  --git a/polly/lib/Analysis/ScopBuilder.cpp b/polly/lib/Analysis/ScopBuilder.cpp
index 0e3de8b5b6c5f30..c34413812d9464e 100644
--- a/polly/lib/Analysis/ScopBuilder.cpp
+++ b/polly/lib/Analysis/ScopBuilder.cpp
@@ -2671,10 +2671,9 @@ void ScopBuilder::addUserContext() {
     if (NameContext != NameUserContext) {
       std::string SpaceStr = stringFromIslObj(Space, "null");
       errs() << "Error: the name of dimension " << i
-             << " provided in -polly-context "
-             << "is '" << NameUserContext << "', but the name in the computed "
-             << "context is '" << NameContext
-             << "'. Due to this name mismatch, "
+             << " provided in -polly-context " << "is '" << NameUserContext
+             << "', but the name in the computed " << "context is '"
+             << NameContext << "'. Due to this name mismatch, "
              << "the -polly-context option is ignored. Please provide "
              << "the context in the parameter space: " << SpaceStr << ".\n";
       return;


        


More information about the llvm-commits mailing list