Skip to content

Commit 09f4c69

Browse files
[NFC][IR] Update StructuralHash comment
This patch updates a comment at the top of the structural hash implementation that was made invalid by 64da0be. The class is now used for more than just validating pass return status and is now the sole implementation rather than being copied from somewhere.
1 parent d1bc6f9 commit 09f4c69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/IR/StructuralHash.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ using namespace llvm;
2020
namespace {
2121

2222
// Basic hashing mechanism to detect structural change to the IR, used to verify
23-
// pass return status consistency with actual change. Loosely copied from
24-
// llvm/lib/Transforms/Utils/FunctionComparator.cpp
23+
// pass return status consistency with actual change. In addition to being used
24+
// by the MergeFunctions pass.
2525

2626
class StructuralHashImpl {
2727
uint64_t Hash;

0 commit comments

Comments
 (0)