[llvm-commits] [llvm] r143753 - /llvm/trunk/lib/CodeGen/IfConversion.cpp
Evan Cheng
evan.cheng at apple.com
Fri Nov 4 16:55:06 PDT 2011
Thanks. Is it possible to add a reduced test case?
Evan
On Nov 4, 2011, at 4:49 PM, Pete Cooper wrote:
> Author: pete
> Date: Fri Nov 4 18:49:14 2011
> New Revision: 143753
>
> URL: http://llvm.org/viewvc/llvm-project?rev=143753&view=rev
> Log:
> Added missing &. Fixes <rdar://problem/10393723>
>
> Modified:
> llvm/trunk/lib/CodeGen/IfConversion.cpp
>
> Modified: llvm/trunk/lib/CodeGen/IfConversion.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/IfConversion.cpp?rev=143753&r1=143752&r2=143753&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/IfConversion.cpp (original)
> +++ llvm/trunk/lib/CodeGen/IfConversion.cpp Fri Nov 4 18:49:14 2011
> @@ -1319,7 +1319,7 @@
> // 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.
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list