[llvm-commits] [llvm] r74883 - /llvm/trunk/include/llvm/CodeGen/MachineOperand.h

Chris Lattner clattner at apple.com
Mon Jul 6 21:37:38 PDT 2009


On Jul 6, 2009, at 6:34 PM, Devang Patel wrote:

> Chris,
>
> On Mon, Jul 6, 2009 at 6:09 PM, Chris Lattner<clattner at apple.com>  
> wrote:
>>
>> On Jul 6, 2009, at 4:46 PM, Devang Patel wrote:
>>
>>> Author: dpatel
>>> Date: Mon Jul  6 18:46:02 2009
>>> New Revision: 74883
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=74883&view=rev
>>> Log:
>>> Add isMetadata() to check metadata operand.
>>
>> Hey Devang,
>>
>> What is your plan to use MetaData MachineInstr operands?  Can you
>> elaborate on how you plan to use these?
>
> My near term goal is to replace all Global Variables used to encode
> debug info (llvm.dbg.*) by MDNodes. As a step towards this goal, I
> need MetaData as machine instruction operand to handle printDeclare().

Do we really want to propagate llvm.declare intrinsics into  
machineinstrs?  Why not have ISel tag the stack slot with the MDNode  
instead of lowering to a machineinstr?

-Chris



More information about the llvm-commits mailing list