aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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
commit30788b828a6101c6b20bedc59609dd5ce907a845 (patch)
tree734922e4aa257219f9f823dc64a6b9fe47123b20 /lib
parent6d463f2efc79f910df60b9851dccf3e36651ae41 (diff)
downloadexternal_llvm-30788b828a6101c6b20bedc59609dd5ce907a845.zip
external_llvm-30788b828a6101c6b20bedc59609dd5ce907a845.tar.gz
external_llvm-30788b828a6101c6b20bedc59609dd5ce907a845.tar.bz2
Comment clean-ups. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61354 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Scalar/GVN.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp
index 6087fd5..cd2dcf5 100644
--- a/lib/Transforms/Scalar/GVN.cpp
+++ b/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();