diff options
author | Pete Cooper <peter_cooper@apple.com> | 2011-11-04 23:49:14 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2011-11-04 23:49:14 +0000 |
commit | 77c703f11caedc2873593c29286a2d0347cba9e6 (patch) | |
tree | 74e4f92bb894835cd4767fbdd550a57db3ec4741 /llvm/lib/CodeGen/IfConversion.cpp | |
parent | df52783e32b8d2908e3b2c08d3336f2eb7c9cc4f (diff) | |
download | bcm5719-llvm-77c703f11caedc2873593c29286a2d0347cba9e6.tar.gz bcm5719-llvm-77c703f11caedc2873593c29286a2d0347cba9e6.zip |
Added missing &. Fixes <rdar://problem/10393723>
llvm-svn: 143753
Diffstat (limited to 'llvm/lib/CodeGen/IfConversion.cpp')
-rw-r--r-- | llvm/lib/CodeGen/IfConversion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/IfConversion.cpp b/llvm/lib/CodeGen/IfConversion.cpp index ce7ed293daa..d888939d4c2 100644 --- a/llvm/lib/CodeGen/IfConversion.cpp +++ b/llvm/lib/CodeGen/IfConversion.cpp @@ -1319,7 +1319,7 @@ bool IfConverter::IfConvertDiamond(BBInfo &BBI, IfcvtKind Kind, // fold the tail block in as well. Otherwise, unless it falls through to the // tail, add a unconditional branch to it. if (TailBB) { - BBInfo TailBBI = BBAnalysis[TailBB->getNumber()]; + BBInfo &TailBBI = BBAnalysis[TailBB->getNumber()]; bool CanMergeTail = !TailBBI.HasFallThrough; // There may still be a fall-through edge from BBI1 or BBI2 to TailBB; // check if there are any other predecessors besides those. |