[llvm-commits] [llvm] r48022 - /llvm/trunk/include/llvm/Instructions.h

Devang Patel dpatel at apple.com
Fri Mar 7 17:08:42 PST 2008


On Mar 7, 2008, at 4:52 PM, Chris Lattner wrote:

>
> On Mar 7, 2008, at 12:08 PM, Devang Patel wrote:
>
>> Author: dpatel
>> Date: Fri Mar  7 14:08:07 2008
>> New Revision: 48022
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=48022&view=rev
>> Log:
>> RetVal is not used when there are more then one return operands.
>
> Why not just use 'return getOperand(n);' ?

yeah, I should override getOperand() to check RetVal optimization for  
most common cases and use it directly here.
-
Devang



More information about the llvm-commits mailing list