[llvm] 85cbfe7 - [NFC] Fix comment describing what EdgeBundles is
Max Kazantsev via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 23 21:04:27 PDT 2021
Author: Max Kazantsev
Date: 2021-03-24T11:04:05+07:00
New Revision: 85cbfe75afa734b9e141fb11c8fd3c63e815616b
URL: https://github.com/llvm/llvm-project/commit/85cbfe75afa734b9e141fb11c8fd3c63e815616b
DIFF: https://github.com/llvm/llvm-project/commit/85cbfe75afa734b9e141fb11c8fd3c63e815616b.diff
LOG: [NFC] Fix comment describing what EdgeBundles is
The original comment says the same thing twice, and does not mention that
edges entering the block are also in the same bundle (which seems true from
what the underlying code is doing).
Differential Revision: https://reviews.llvm.org/D99144
Reviewed By: RKSimon
Added:
Modified:
llvm/include/llvm/CodeGen/EdgeBundles.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/EdgeBundles.h b/llvm/include/llvm/CodeGen/EdgeBundles.h
index b26956023971..b6187fc6dcef 100644
--- a/llvm/include/llvm/CodeGen/EdgeBundles.h
+++ b/llvm/include/llvm/CodeGen/EdgeBundles.h
@@ -8,7 +8,7 @@
//
// The EdgeBundles analysis forms equivalence classes of CFG edges such that all
// edges leaving a machine basic block are in the same bundle, and all edges
-// leaving a basic block are in the same bundle.
+// entering a machine basic block are in the same bundle.
//
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list