aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorbvlgah <octopus.busts_0w@icloud.com>2024-03-12 22:46:18 +0800
committerGitHub <noreply@github.com>2024-03-12 14:46:18 +0000
commit2cae13d60590c999c37828d709ff4ba58e5f261b (patch)
treee9dc745c6c492a6e2bb66ac6432caacf7e07a8d2 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parenta3ad5faa321848376b277db369313c80d3df2152 (diff)
downloadllvm-2cae13d60590c999c37828d709ff4ba58e5f261b.zip
llvm-2cae13d60590c999c37828d709ff4ba58e5f261b.tar.gz
llvm-2cae13d60590c999c37828d709ff4ba58e5f261b.tar.bz2
[DominanceFrontierBase] Fix doc of compare()'s return value. (#81352)
This is a trivial fix ( I guess it has not been noticed because of no use). Currently, the doc says the function returns `true` if two instances of `DominanceFrontierBase` matches, otherwise `false` is returned. I have checked the implementation https://github.com/llvm/llvm-project/blob/9308d6688c673606fee1625d777a52539ae72015/llvm/include/llvm/Analysis/DominanceFrontierImpl.h#L71-L94 which examines whether two dominance frontier mappings are equal, and the actual value it returns contradicts the description in the doc.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions