Use llvm.foo as the intrinsic, rather than llvm.dbg.value. Since the
authorDuncan Sands <baldrick@free.fr>
Tue, 4 May 2010 20:09:25 +0000 (20:09 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 4 May 2010 20:09:25 +0000 (20:09 +0000)
commit55cd6cb141777b1a1d64060828adafeff80b3986
tree55b33109267a401f736a031a4b844d3dcbfad2b5
parent34414a634e0e98cc4c2e3a9c31f0e959884736b6
Use llvm.foo as the intrinsic, rather than llvm.dbg.value.  Since the
values passed to llvm.dbg.value were not valid for the intrinsic, it
might have caused trouble one day if the verifier ever started checking
for valid debug info.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103038 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/GlobalOpt/metadata.ll