[llvm-commits] [llvm] r53527 - /llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp

Chris Lattner clattner at apple.com
Sun Jul 13 15:31:35 PDT 2008


On Jul 13, 2008, at 3:11 PM, Bill Wendling wrote:

>>
>> -      Value *NewCond;
>> -      if (PBI->getSuccessor(0) == TrueDest)
>> -        NewCond = BinaryOperator::CreateOr(PBI->getCondition(),
>> New, "or.cond",
>> -                                           PBI);
>> -      else
>> -        NewCond = BinaryOperator::CreateOr(PBI->getCondition(),
>> New, "and.cond",
>> -                                           PBI);
>
> Did this also fix a bug where both of these were "CreateOr"? :-)

Yes.

-Chris



More information about the llvm-commits mailing list