summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-12-22 22:32:22 +0000
committerBill Wendling <isanbard@gmail.com>2008-12-22 22:32:22 +0000
commit456e8853825ba4faa4820246fb2dbd0bb3974466 (patch)
treeab86577f7e51b7b4554ad629a43d4daf76deea13 /llvm/lib/Transforms
parente7f08e725065d83f4a8a1ed0bf7dc36df81cccbd (diff)
downloadbcm5719-llvm-456e8853825ba4faa4820246fb2dbd0bb3974466.tar.gz
bcm5719-llvm-456e8853825ba4faa4820246fb2dbd0bb3974466.zip
Comment clean-ups. No functionality change.
llvm-svn: 61354
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/GVN.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Scalar/GVN.cpp b/llvm/lib/Transforms/Scalar/GVN.cpp
index 6087fd5ae9c..cd2dcf53d40 100644
--- a/llvm/lib/Transforms/Scalar/GVN.cpp
+++ b/llvm/lib/Transforms/Scalar/GVN.cpp
@@ -666,7 +666,7 @@ void ValueTable::verifyRemoved(const Value *V) const {
}
//===----------------------------------------------------------------------===//
-// GVN Pass
+// GVN Pass
//===----------------------------------------------------------------------===//
namespace {
@@ -1353,9 +1353,7 @@ bool GVN::processInstruction(Instruction *I,
return false;
}
-// GVN::runOnFunction - This is the main transformation entry point for a
-// function.
-//
+/// runOnFunction - This is the main transformation entry point for a function.
bool GVN::runOnFunction(Function& F) {
MD = &getAnalysis<MemoryDependenceAnalysis>();
DT = &getAnalysis<DominatorTree>();
@@ -1602,7 +1600,7 @@ bool GVN::performPRE(Function& F) {
return Changed || toSplit.size();
}
-// iterateOnFunction - Executes one iteration of GVN
+/// iterateOnFunction - Executes one iteration of GVN
bool GVN::iterateOnFunction(Function &F) {
cleanupGlobalSets();
OpenPOWER on IntegriCloud