[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
clattner at apple.com
Sat Aug 21 15:31:18 PDT 2010
On Aug 20, 2010, at 7:53 PM, Dan Gohman wrote:
> 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
>>> 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.
Thanks! I actually meant Value::RAUW method though. There is no case where doing a RAUW on a uniqued node is safe.
More information about the llvm-commits