[llvm-commits] [llvm] r93504 - in /llvm/trunk: include/llvm/Analysis/DebugInfo.h include/llvm/IntrinsicInst.h include/llvm/Intrinsics.td lib/Analysis/DebugInfo.cpp lib/CodeGen/SelectionDAG/FastISel.cpp lib/VMCore/Verifier.cpp test/Assembler/funct

Devang Patel devang.patel at gmail.com
Fri Jan 15 09:45:38 PST 2010


On Fri, Jan 15, 2010 at 9:12 AM, Chris Lattner <clattner at apple.com> wrote:
>
> On Jan 14, 2010, at 7:37 PM, Victor Hernandez wrote:
>
>> Author: hernande
>> Date: Thu Jan 14 21:37:48 2010
>> New Revision: 93504
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=93504&view=rev
>> Log:
>> Improve llvm.dbg.declare intrinsic by referring directly to the
>> storage in its first argument, via function-local metadata (instead
>> of via a bitcast).
>> This patch also cleans up code that expects there to be a bitcast in
>> the first argument and testcases that call llvm.dbg.declare.
>
> Hi Victor,
>
> This is a IR incompatibility, and this intrinsic existed in LLVM 2.6
> and earlier.  Please add "autoupgrade" support to the .ll and .bc
> readers.
>

Chris,

2.6 uses GVs for debug info. The autoupgrade support already discards
dbg intrinsics that do not use use metadata.

-
Devang




More information about the llvm-commits mailing list