[llvm-commits] [llvm] r137744 - in /llvm/trunk: include/llvm/BasicBlock.h lib/VMCore/BasicBlock.cpp

Bill Wendling isanbard at gmail.com
Wed Aug 17 12:34:58 PDT 2011


On Aug 17, 2011, at 11:43 AM, Chris Lattner wrote:

>> +++ llvm/trunk/include/llvm/BasicBlock.h Tue Aug 16 15:42:52 2011
>> @@ -145,6 +145,15 @@
>>    return const_cast<BasicBlock*>(this)->getFirstNonPHIOrDbgOrLifetime();
>>  }
>> 
>> +  /// getFirstInsertionPt - Returns an iterator to the first instruction in this
>> +  /// block that is suitable for inserting a non-PHI instruction. In particular,
>> +  /// it skips all PHIs and LandingPad instructions. Returns 0 if there are no
>> +  /// non-PHI instructions.
> 
> The last sentence doesn't make sense.
> 
I was copying what was in getFirstNonPHI's comment. But it doesn't look right in this context.

-bw





More information about the llvm-commits mailing list