[LLVMdev] [llvm] r225762 - fix {typo, build failure} in r225760

Ramkumar Ramachandra artagnon at gmail.com
Mon Jan 12 20:36:00 PST 2015


I feel very silly about this breakage. My apologies.

Ram

On Mon, Jan 12, 2015 at 11:17 PM, Ramkumar Ramachandra
<artagnon at gmail.com> wrote:
> Author: artagnon
> Date: Mon Jan 12 22:17:47 2015
> New Revision: 225762
>
> URL: http://llvm.org/viewvc/llvm-project?rev=225762&view=rev
> Log:
> fix {typo, build failure} in r225760
>
> Modified:
>     llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp
>
> Modified: llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp?rev=225762&r1=225761&r2=225762&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp (original)
> +++ llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp Mon Jan 12 22:17:47 2015
> @@ -4587,7 +4587,7 @@ bool SimplifyCFGOpt::run(BasicBlock *BB)
>
>    // Remove basic blocks that have no predecessors (except the entry block)...
>    // or that just have themself as a predecessor.  These are unreachable.
> -  if ((pred_emtpy(BB) &&
> +  if ((pred_empty(BB) &&
>         BB != &BB->getParent()->getEntryBlock()) ||
>        BB->getSinglePredecessor() == BB) {
>      DEBUG(dbgs() << "Removing BB: \n" << *BB);
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-dev mailing list