From 5772e65be07f25303c182ed3582f06a282062657 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Wed, 1 Feb 2012 14:23:33 +0000 Subject: [PATCH] CodeGeneration: Rephrase comment slightly llvm-svn: 149502 --- polly/lib/CodeGeneration.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/polly/lib/CodeGeneration.cpp b/polly/lib/CodeGeneration.cpp index fe3e6439fa01..603709e44490 100644 --- a/polly/lib/CodeGeneration.cpp +++ b/polly/lib/CodeGeneration.cpp @@ -1699,14 +1699,14 @@ class CodeGeneration : public ScopPass { assert(region->isSimple() && "Only simple regions are supported"); - // In the CFG and we generate next to original code of the Scop the - // optimized version. Both the new and the original version of the code - // remain in the CFG. A branch statement decides which version is executed. - // At the moment, we always execute the newly generated version (the old one - // is dead code eliminated by the cleanup passes). Later we may decide to - // execute the new version only under certain conditions. This will be the - // case if we support constructs for which we cannot prove all assumptions - // at compile time. + // In the CFG the optimized code of the SCoP is generated next to the + // original code. Both the new and the original version of the code remain + // in the CFG. A branch statement decides which version is executed. + // For now, we always execute the new version (the old one is dead code + // eliminated by the cleanup passes). In the future we may decide to execute + // the new version only if certain run time checks succeed. This will be + // useful to support constructs for which we cannot prove all assumptions at + // compile time. // // Before transformation: // -- GitLab