[DeLICM] Print message when zone analysis is not available on -analysis.
This is to distinguish the cases that analysis has failed from the case where not transformation was performed. llvm-svn: 295833
This commit is contained in:
parent
91cdafb86f
commit
43ed25f1d9
|
|
@ -1593,6 +1593,11 @@ public:
|
|||
|
||||
/// Dump the internal information about a performed DeLICM to @p OS.
|
||||
void print(llvm::raw_ostream &OS, int indent = 0) {
|
||||
if (!Zone.isUsable()) {
|
||||
OS << "Zone not computed\n";
|
||||
return;
|
||||
}
|
||||
|
||||
printAccesses(OS, indent);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue