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

Devang Patel devang.patel at gmail.com
Tue Jul 7 11:54:35 PDT 2009


Chris,

On Mon, Jul 6, 2009 at 9:37 PM, Chris Lattner<clattner at apple.com> wrote:
>
> 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?

No. The question was "now or later " ? I'll fix it now :)

> Why not have ISel tag the stack slot with the MDNode
> instead of lowering to a machineinstr?


-
Devang




More information about the llvm-commits mailing list