[llvm-commits] [llvm] r103007 - in /llvm/trunk: lib/VMCore/Metadata.cpp test/Transforms/GlobalOpt/metadata.ll
dpatel at apple.com
Tue May 4 12:43:50 PDT 2010
On May 4, 2010, at 11:22 AM, Duncan Sands wrote:
> Hi Devang,
>> llvm.dbg.value is never used to track global variables' value. You may want to add a verifier check. Global values are tracked using named metadata. For example,
> I was using it as a randomly chosen intrinsic with a metadata operand.
> It doesn't matter that it's not valid debug info.
Try replace llvm.dbg.value with llvm.foo.bar in test. It fails. I have not analyzed why.
More information about the llvm-commits