[llvm-commits] [llvm] r111681 - in /llvm/trunk: include/llvm/Analysis/DebugInfo.h include/llvm/Metadata.h lib/Analysis/DebugInfo.cpp lib/AsmParser/LLParser.cpp lib/Bitcode/Reader/BitcodeReader.cpp lib/VMCore/Metadata.cpp

Dan Gohman gohman at apple.com
Fri Aug 20 19:53:22 PDT 2010


On Aug 20, 2010, at 5:40 PM, Chris Lattner wrote:

> 
> On Aug 20, 2010, at 3:02 PM, Dan Gohman wrote:
> 
>> Author: djg
>> Date: Fri Aug 20 17:02:26 2010
>> New Revision: 111681
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=111681&view=rev
>> Log:
>> Introduce a new temporary MDNode concept. Temporary MDNodes are
>> not part of the IR, are not uniqued, and may be safely RAUW'd.
>> This replaces a variety of alternate mechanisms for achieving
>> the same effect.
> 
> Very nice!  Is it possible to make RAUW assert that the thing being replaced with is not a uniqued MDNode now?


It is now.

Dan





More information about the llvm-commits mailing list