[PATCH] D94926: [LoopInfo] Fix a typo in compareLoops
Kazu Hirata via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 18 14:54:43 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGfe301f474977: [LoopInfo] Fix a typo in compareLoops (authored by kazu).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94926/new/
https://reviews.llvm.org/D94926
Files:
llvm/include/llvm/Analysis/LoopInfoImpl.h
Index: llvm/include/llvm/Analysis/LoopInfoImpl.h
===================================================================
--- llvm/include/llvm/Analysis/LoopInfoImpl.h
+++ llvm/include/llvm/Analysis/LoopInfoImpl.h
@@ -673,7 +673,8 @@
"Mismatched basic blocks in the loops!");
const SmallPtrSetImpl<const BlockT *> &BlocksSet = L->getBlocksSet();
- const SmallPtrSetImpl<const BlockT *> &OtherBlocksSet = L->getBlocksSet();
+ const SmallPtrSetImpl<const BlockT *> &OtherBlocksSet =
+ OtherL->getBlocksSet();
assert(BlocksSet.size() == OtherBlocksSet.size() &&
llvm::all_of(BlocksSet,
[&OtherBlocksSet](const BlockT *BB) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94926.317424.patch
Type: text/x-patch
Size: 674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210118/f326edc9/attachment.bin>
More information about the llvm-commits
mailing list