aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Transforms/Scalar/GVN.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/GVN.cpp b/llvm/lib/Transforms/Scalar/GVN.cpp
index e71d771..c57cdc4 100644
--- a/llvm/lib/Transforms/Scalar/GVN.cpp
+++ b/llvm/lib/Transforms/Scalar/GVN.cpp
@@ -1754,9 +1754,6 @@ void GVN::assignBlockRPONumber(Function &F) {
}
bool GVN::replaceOperandsForInBlockEquality(Instruction *Instr) const {
- // TODO: We can remove the separate ReplaceOperandsWithMap data structure in
- // favor of putting equalitys into the leader table and using findLeader
- // here.
bool Changed = false;
for (unsigned OpNum = 0; OpNum < Instr->getNumOperands(); ++OpNum) {
Value *Operand = Instr->getOperand(OpNum);