[ScopInfo] Never print instruction list of region stmts.
A region statement's instruction list is always empty and ignored by the code
generator. Don't give the impression that it means anything.
llvm-svn: 309197
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp
index 0d6573e..0c65f2e 100644
--- a/polly/lib/Analysis/ScopInfo.cpp
+++ b/polly/lib/Analysis/ScopInfo.cpp
@@ -1965,7 +1965,7 @@
for (MemoryAccess *Access : MemAccs)
Access->print(OS);
- if (PrintInstructions)
+ if (PrintInstructions && isBlockStmt())
printInstructions(OS.indent(12));
}