aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/IfConversion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/IfConversion.cpp')
-rw-r--r--lib/CodeGen/IfConversion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/IfConversion.cpp b/lib/CodeGen/IfConversion.cpp
index eac134be56..02fbfeee54 100644
--- a/lib/CodeGen/IfConversion.cpp
+++ b/lib/CodeGen/IfConversion.cpp
@@ -769,7 +769,7 @@ bool IfConverter::IfConvertTriangle(BBInfo &BBI) {
}
// Predicate the 'true' block after removing its branch.
- TrueBBI.NonPredSize -= TII->RemoveBranch(*CvtBBI->BB);
+ CvtBBI->NonPredSize -= TII->RemoveBranch(*CvtBBI->BB);
PredicateBlock(*CvtBBI, Cond);
// If 'true' block has a 'false' successor, add an exit branch to it.