Fix (and test) function-local metadata that occurs before the instruction that it...
authorVictor Hernandez <vhernandez@apple.com>
Thu, 4 Feb 2010 01:13:08 +0000 (01:13 +0000)
committerVictor Hernandez <vhernandez@apple.com>
Thu, 4 Feb 2010 01:13:08 +0000 (01:13 +0000)
commitaf6ce14d679e2a87d2de6a3e26ce6a1f34d1f879
tree27f7c64c1cd8c519da09dcd06f60f02bebfd74d9
parentec5ef6d8b0fcdf7bf9df397a0e3d03e1d57b6fc1
Fix (and test) function-local metadata that occurs before the instruction that it refers to; fix is to not enumerate operands of function-local metadata until after all instructions have been enumerated

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95269 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bitcode/Writer/ValueEnumerator.cpp
test/Assembler/functionlocal-metadata.ll