mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
Extra edges are deleted later if needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37593 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d46cd5507
commit
9333545980
@ -806,7 +806,6 @@ bool IfConverter::IfConvertTriangle(BBInfo &BBI) {
|
||||
// Copy instructions in the true block, predicate them add them to
|
||||
// the entry block.
|
||||
CopyAndPredicateBlock(BBI, *CvtBBI, Cond, true);
|
||||
BBI.BB->removeSuccessor(CvtBBI->BB);
|
||||
} else {
|
||||
// Predicate the 'true' block after removing its branch.
|
||||
CvtBBI->NonPredSize -= TII->RemoveBranch(*CvtBBI->BB);
|
||||
|
Loading…
Reference in New Issue
Block a user