Assembler: Rewrite test for function-local metadata
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 15 Mar 2015 00:45:51 +0000 (00:45 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 15 Mar 2015 00:45:51 +0000 (00:45 +0000)
commitf548941ee0a9318504665cfa6b431bd470b13e14
tree688f73b27be94b7c495831a4294ed19ffccd7244
parent54db4092c1098cfde4692279fbe923084ecb63ee
Assembler: Rewrite test for function-local metadata

This test for function-local metadata did strange things, and never
really sent in valid arguments for `llvm.dbg.declare` and
`llvm.dbg.value` intrinsics.  Those that might have once been valid have
bitrotted.

Rewrite it to be a targeted test for function-local metadata --
unrelated to debug info, which is tested elsewhere -- and rename it to
better match other metadata-related tests.

(Note: the scope of function-local metadata changed drastically during
the metadata/value split, but I didn't properly clean up this testcase.
Most of the IR in this file, while invalid for debug info intrinsics,
used to provide coverage for various (now illegal) forms of
function-local metadata.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232290 91177308-0d34-0410-b5e6-96231b3b80d8
test/Assembler/functionlocal-metadata.ll [deleted file]
test/Assembler/metadata-function-local.ll [new file with mode: 0644]