On Oct 18, 2007, at 6:43 PM, Evan Cheng wrote:

>>
>>> +++ llvm/trunk/include/llvm/Target/MRegisterInfo.h Thu Oct 18
>>> 16:29:24 2007
>>> @@ -508,9 +508,9 @@
>>>                                    const TargetRegisterClass *RC)
>>> const = 0;
>>>
>>>   virtual void storeRegToAddr(MachineFunction &MF, unsigned SrcReg,
>>> -                              SmallVector<MachineOperand,4> Addr,
>>> +                              SmallVectorImpl<MachineOperand> Addr,
>>
>> This should pass the vector by reference to avoid slicing in this
>> case and for performance.
>
> It was a copy and paste bug that's already fixed in a subsequent  
> patch.

Thanks Evan!

-Chris
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to