[llvm-commits] [llvm] r80038 - in /llvm/trunk: include/llvm/InstrTypes.h include/llvm/Instruction.h include/llvm/Instructions.h include/llvm/Value.h lib/Transforms/IPO/MergeFunctions.cpp lib/Transforms/Scalar/InstructionCombining.cpp lib/Transfor
Dan Gohman
gohman at apple.com
Tue Aug 25 15:26:00 PDT 2009
On Aug 25, 2009, at 3:20 PM, Devang Patel wrote:
> On Tue, Aug 25, 2009 at 3:11 PM, Dan Gohman<gohman at apple.com> wrote:
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
>
>> --- llvm/trunk/lib/VMCore/Instruction.cpp (original)
>>
>> +++ llvm/trunk/lib/VMCore/Instruction.cpp Tue Aug 25 17:11:20 2009
>>
>> @@ -168,6 +168,14 @@
>>
>> /// identical to the current one. This means that all operands
>> match and any
>>
>> /// extra information (e.g. load is volatile) agree.
>>
>> bool Instruction::isIdenticalTo(const Instruction *I) const {
>>
>> + return isIdenticalTo(I) &&
>>
>
> Did you mean isIdenticalToWhenDefined(I) here ?
Yes, thanks!
Dan
More information about the llvm-commits
mailing list