mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Comment clean-ups. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61354 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6d463f2efc
commit
30788b828a
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user