summaryrefslogtreecommitdiffstats
path: root/polly/lib/Transform/ZoneAlgo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/Transform/ZoneAlgo.cpp')
-rw-r--r--polly/lib/Transform/ZoneAlgo.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/polly/lib/Transform/ZoneAlgo.cpp b/polly/lib/Transform/ZoneAlgo.cpp
index 709e474d850..d8dcd4096fe 100644
--- a/polly/lib/Transform/ZoneAlgo.cpp
+++ b/polly/lib/Transform/ZoneAlgo.cpp
@@ -258,18 +258,6 @@ isl::union_map polly::filterKnownValInst(const isl::union_map &UMap) {
return Result;
}
-static std::string printInstruction(Instruction *Instr,
- bool IsForDebug = false) {
- std::string Result;
- raw_string_ostream OS(Result);
- Instr->print(OS, IsForDebug);
- OS.flush();
- size_t i = 0;
- while (i < Result.size() && Result[i] == ' ')
- i += 1;
- return Result.substr(i);
-}
-
ZoneAlgorithm::ZoneAlgorithm(const char *PassName, Scop *S, LoopInfo *LI)
: PassName(PassName), IslCtx(S->getSharedIslCtx()), S(S), LI(LI),
Schedule(S->getSchedule()) {
OpenPOWER on IntegriCloud