[PATCH] D112452: [PPC][LLVM] Inclusive terms: remove references to sanity check in lib/Target/PowerPC
Zarko Todorovski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 25 15:14:08 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe9163660b12c: [PPC][LLVM] Inclusive terms: remove references to sanity check in… (authored by ZarkoCA).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112452/new/
https://reviews.llvm.org/D112452
Files:
llvm/lib/Target/PowerPC/PPCBranchCoalescing.cpp
Index: llvm/lib/Target/PowerPC/PPCBranchCoalescing.cpp
===================================================================
--- llvm/lib/Target/PowerPC/PPCBranchCoalescing.cpp
+++ llvm/lib/Target/PowerPC/PPCBranchCoalescing.cpp
@@ -291,7 +291,7 @@
return false;
}
- // Sanity check - the block must be able to fall through
+ // The block must be able to fall through.
assert(Cand.BranchBlock->canFallThrough() &&
"Expecting the block to fall through!");
@@ -751,9 +751,8 @@
if (!canCoalesceBranch(Cand2))
break;
- // Sanity check
// The branch-taken block of the second candidate should post-dominate the
- // first candidate
+ // first candidate.
assert(MPDT->dominates(Cand2.BranchTargetBlock, Cand1.BranchBlock) &&
"Branch-taken block should post-dominate first candidate");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112452.382139.patch
Type: text/x-patch
Size: 867 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211025/f1cc87be/attachment.bin>
More information about the llvm-commits
mailing list