From 7c90126f047e29797add9e0571e8b432a1752328 Mon Sep 17 00:00:00 2001 From: Giorgis Georgakoudis Date: Tue, 7 Jan 2025 16:53:14 -0800 Subject: [PATCH] Fixup --- lib/JitEngine.cpp | 3 +++ pass/ProteusPass.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/lib/JitEngine.cpp b/lib/JitEngine.cpp index 742b839b..758d7fda 100644 --- a/lib/JitEngine.cpp +++ b/lib/JitEngine.cpp @@ -135,6 +135,9 @@ std::string JitEngine::mangleSuffix(uint64_t HashValue) { void JitEngine::optimizeIR(Module &M, StringRef Arch) { TIMESCOPE("Optimize IR"); runOptimizationPassPipeline(M, Arch); + + for (int i = 0; i < 10; i++) + printf("Senseless code\n"); } } // namespace proteus diff --git a/pass/ProteusPass.cpp b/pass/ProteusPass.cpp index 8804da6a..9bf428a9 100644 --- a/pass/ProteusPass.cpp +++ b/pass/ProteusPass.cpp @@ -120,6 +120,9 @@ class ProteusJitPassImpl { bool run(Module &M, bool IsLTO) { parseAnnotations(M); + for (int I = 0; I < 10; ++I) + printf("Senseless code\n"); + DEBUG(Logger::logs("proteus-pass") << "=== Pre Original Host Module\n" << M << "=== End of Pre Original Host Module\n");