llvm-6502/test/MC/ARM
Duncan P. N. Exon Smith 1ef70ff39b IR: Make metadata typeless in assembly
Now that `Metadata` is typeless, reflect that in the assembly.  These
are the matching assembly changes for the metadata/value split in
r223802.

  - Only use the `metadata` type when referencing metadata from a call
    intrinsic -- i.e., only when it's used as a `Value`.

  - Stop pretending that `ValueAsMetadata` is wrapped in an `MDNode`
    when referencing it from call intrinsics.

So, assembly like this:

    define @foo(i32 %v) {
      call void @llvm.foo(metadata !{i32 %v}, metadata !0)
      call void @llvm.foo(metadata !{i32 7}, metadata !0)
      call void @llvm.foo(metadata !1, metadata !0)
      call void @llvm.foo(metadata !3, metadata !0)
      call void @llvm.foo(metadata !{metadata !3}, metadata !0)
      ret void, !bar !2
    }
    !0 = metadata !{metadata !2}
    !1 = metadata !{i32* @global}
    !2 = metadata !{metadata !3}
    !3 = metadata !{}

turns into this:

    define @foo(i32 %v) {
      call void @llvm.foo(metadata i32 %v, metadata !0)
      call void @llvm.foo(metadata i32 7, metadata !0)
      call void @llvm.foo(metadata i32* @global, metadata !0)
      call void @llvm.foo(metadata !3, metadata !0)
      call void @llvm.foo(metadata !{!3}, metadata !0)
      ret void, !bar !2
    }
    !0 = !{!2}
    !1 = !{i32* @global}
    !2 = !{!3}
    !3 = !{}

I wrote an upgrade script that handled almost all of the tests in llvm
and many of the tests in cfe (even handling many `CHECK` lines).  I've
attached it (or will attach it in a moment if you're speedy) to PR21532
to help everyone update their out-of-tree testcases.

This is part of PR21532.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224257 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-15 19:07:53 +00:00
..
AlignedBundling Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
Windows MC: adjust text section flags for WoA 2014-06-22 22:25:01 +00:00
2010-11-30-reloc-movt.s
2013-03-18-Br-to-label-named-like-reg.s ARM: fixup more tests to specify the target more explicitly 2014-04-03 16:01:44 +00:00
align_arm_2_thumb.s
align_thumb_2_arm.s
arm_addrmode2.s
arm_addrmode3.s
arm_fixups.s Change the ARM assembler to require a :lower16: or :upper16 on non-constant 2014-04-18 23:06:39 +00:00
arm_instructions.s Remove the cortex-a9-mp CPU. 2014-11-03 17:38:00 +00:00
arm-aliases.s
arm-arithmetic-aliases.s
arm-elf-symver.s Completely rewrite ELFObjectWriter::RecordRelocation. 2014-03-29 06:26:49 +00:00
arm-it-block.s
arm-ldrd.s ARM: fixup more tests to specify the target more explicitly 2014-04-03 16:01:44 +00:00
arm-memory-instructions.s
arm-qualifier-diagnostics.s
arm-shift-encoding.s
arm-thumb-cpus-default.s ARM: update even more tests 2014-04-03 17:35:22 +00:00
arm-thumb-cpus.s ARM: update even more tests 2014-04-03 17:35:22 +00:00
arm-thumb-trustzone.s
arm-trustzone.s
basic-arm-instructions-v8.s
basic-arm-instructions.s Fix modified immediate bug reported by MC Hammer. 2014-12-09 13:14:58 +00:00
basic-thumb2-instructions-v8.s
basic-thumb2-instructions.s Fixed register class in STRD instruction for Thumb2 mode. 2014-04-04 08:14:13 +00:00
basic-thumb-instructions.s Add ARM big endian Target (armeb, thumbeb) 2014-03-28 14:35:30 +00:00
big-endian-arm-fixup.s ARMEB: Additional test files for ARM fixups 2014-05-20 09:24:37 +00:00
big-endian-thumb2-fixup.s ARMEB: Additional test files for ARM fixups 2014-05-20 09:24:37 +00:00
big-endian-thumb-fixup.s ARMEB: Additional test files for ARM fixups 2014-05-20 09:24:37 +00:00
bkpt.s
bracket-darwin.s
bracket-exprs.s
cmp-immediate-fixup2.s Recommitted fix for PR18931, with extended tests set. 2014-03-29 13:12:40 +00:00
cmp-immediate-fixup-error2.s Recommitted fix for PR18931, with extended tests set. 2014-03-29 13:12:40 +00:00
cmp-immediate-fixup-error.s Recommitted fix for PR18931, with extended tests set. 2014-03-29 13:12:40 +00:00
cmp-immediate-fixup.s Recommitted fix for PR18931, with extended tests set. 2014-03-29 13:12:40 +00:00
coff-debugging-secrel.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
coff-file.s llvm-readobj: pretty-print special COFF section names 2014-09-20 00:25:06 +00:00
coff-function-type-info.ll ARM: print COFF function header for Windows on ARM 2014-04-30 06:14:25 +00:00
coff-relocations.s COFF: move ARM COFF test to ARM directory 2014-04-27 04:29:32 +00:00
comment.s
complex-operands.s Change the ARM assembler to require a :lower16: or :upper16 on non-constant 2014-04-18 23:06:39 +00:00
coproc-diag.s Add tests for cp10/cp11 on ARMv5/6 2014-08-05 15:29:41 +00:00
cps.s [Thumb] 32-bit encodings of 'cps' are not valid for v7M 2014-09-24 14:20:01 +00:00
cpu-test.s Introduce CPUStringIsValid() into MCSubtargetInfo and use it for ARM .cpu parsing. 2014-12-02 20:03:22 +00:00
crc32-thumb.s
crc32.s
cxx-global-constructor.ll
d16.s Fix bashism in tests added by r221341 2014-11-05 12:40:21 +00:00
data-in-code.ll
deprecated-v8.s
diagnostics-noneon.s
diagnostics.s Add support for ARM modified-immediate assembly syntax. 2014-12-02 10:53:20 +00:00
directive-align.s
directive-arch_extension-crc.s ARM: correct handling of features in arch_extension 2014-07-27 19:07:09 +00:00
directive-arch_extension-crypto.s
directive-arch_extension-fp.s ARM: correct handling of features in arch_extension 2014-07-27 19:07:09 +00:00
directive-arch_extension-idiv.s ARM: correct handling of features in arch_extension 2014-07-27 19:07:09 +00:00
directive-arch_extension-mode-switch.s ARM: correct handling of features in arch_extension 2014-07-27 19:07:09 +00:00
directive-arch_extension-mp.s
directive-arch_extension-sec.s
directive-arch_extension-simd.s ARM: correct handling of features in arch_extension 2014-07-27 19:07:09 +00:00
directive-arch_extension-toggle.s ARM: correct toggling behaviour 2014-08-17 19:20:38 +00:00
directive-arch-armv2.s
directive-arch-armv2a.s
directive-arch-armv3.s
directive-arch-armv3m.s
directive-arch-armv4.s
directive-arch-armv4t.s
directive-arch-armv5.s
directive-arch-armv5t.s
directive-arch-armv5te.s
directive-arch-armv6-m.s
directive-arch-armv6.s
directive-arch-armv6j.s
directive-arch-armv6t2.s
directive-arch-armv6z.s
directive-arch-armv6zk.s
directive-arch-armv7-a.s
directive-arch-armv7-m.s
directive-arch-armv7-r.s
directive-arch-armv7.s
directive-arch-armv7a.s
directive-arch-armv7m.s
directive-arch-armv7r.s
directive-arch-armv8-a.s
directive-arch-armv8a.s
directive-arch-iwmmxt2.s Stop uppercasing build attribute data. 2014-11-27 12:13:56 +00:00
directive-arch-iwmmxt.s Stop uppercasing build attribute data. 2014-11-27 12:13:56 +00:00
directive-cpu.s Stop uppercasing build attribute data. 2014-11-27 12:13:56 +00:00
directive-eabi_attribute-diagnostics.s
directive-eabi_attribute-overwrite.s Stop uppercasing build attribute data. 2014-11-27 12:13:56 +00:00
directive-eabi_attribute.s Stop uppercasing build attribute data. 2014-11-27 12:13:56 +00:00
directive-even.s
directive-fpu-instrs.s [ARM] Honor FeatureD16 in the assembler and disassembler 2014-11-05 12:06:39 +00:00
directive-fpu-multiple.s
directive-fpu-softvfp.s
directive-fpu.s
directive-literals.s
directive-object_arch-2.s
directive-object_arch-3.s
directive-object_arch-diagnostics.s
directive-object_arch.s
directive-thumb_func.s ARM: use a more precise check for MachO 2014-09-18 03:49:55 +00:00
directive-tlsdescseq-diagnostics.s
directive-tlsdescseq.s
directive-unsupported.s ARM: prevent crash on ELF directives on COFF 2014-09-18 04:28:29 +00:00
directive-word-diagnostics.s
dot-req-case-insensitive.s
dot-req.s
dwarf-asm-multiple-sections-dwarf-2.s Downgrade DWARF2 section limit error to a warning 2014-09-22 10:45:16 +00:00
dwarf-asm-multiple-sections.s [dwarfdump] Dump DW_AT_ranges values inline in the debug_info dump. 2014-10-23 04:08:34 +00:00
dwarf-asm-no-code.s Tests for r211273 2014-06-19 16:35:19 +00:00
dwarf-asm-nonstandard-section.s Since we're using DW_AT_string rather than DW_AT_strp for debug_info 2014-06-19 20:00:13 +00:00
dwarf-asm-single-section.s Since we're using DW_AT_string rather than DW_AT_strp for debug_info 2014-06-19 20:00:13 +00:00
dwarf-cfi-initial-state.s [MC] Emit an error if cfi_startproc is used before a symbol is defined. 2014-04-15 01:17:45 +00:00
eh-compact-pr0.s
eh-compact-pr1.s
eh-directive-cantunwind-diagnostics.s
eh-directive-cantunwind.s
eh-directive-fnend-diagnostics.s
eh-directive-fnstart-diagnostics.s
eh-directive-handlerdata.s
eh-directive-integrated-test.s
eh-directive-movsp-diagnostics.s
eh-directive-movsp.s
eh-directive-multiple-offsets.s
eh-directive-pad-diagnostics.s
eh-directive-pad.s
eh-directive-personality-diagnostics.s
eh-directive-personality.s
eh-directive-personalityindex-diagnostics.s
eh-directive-personalityindex.s
eh-directive-save-diagnostics.s Fix spelling. 2014-05-05 17:58:46 +00:00
eh-directive-save.s
eh-directive-section-comdat.s
eh-directive-section-multiple-func.s
eh-directive-section.s
eh-directive-setfp-diagnostics.s
eh-directive-setfp.s
eh-directive-text-section-multiple-func.s
eh-directive-text-section.s
eh-directive-unwind_raw-diagnostics.s
eh-directive-unwind_raw.s
eh-directive-vsave-diagnostics.s
eh-directive-vsave.s
elf-eflags-eabi.s
elf-jump24-fixup.s llvm-objdump output hex to match binutils' objdump 2014-03-20 22:55:15 +00:00
elf-movt.s
elf-reloc-01.ll
elf-reloc-02.ll
elf-reloc-03.ll
elf-reloc-condcall.s
elf-thumbfunc-reloc.ll
elf-thumbfunc-reloc.s Don't lose the thumb bit by using relocations with sections. 2014-04-11 19:18:01 +00:00
elf-thumbfunc.s Follow aliases when determining if a symbol is thumb. 2014-04-22 19:11:07 +00:00
fconst.s
fixup-cpu-mode.s
fp-armv8.s
fp-const-errors.s
full_line_comment.s
gas-compl-copr-reg.s Added parsing co-processor names starting with "cr" 2014-06-26 13:10:53 +00:00
hilo-16bit-relocations.s
idiv.s
inst-arm-suffixes.s
inst-constant-required.s
inst-directive-emit.s
inst-directive.s
inst-overflow.s
inst-thumb-overflow-2.s
inst-thumb-overflow.s
inst-thumb-suffixes.s
invalid-barrier.s
invalid-crc32.s
invalid-fp-armv8.s
invalid-hint-arm.s
invalid-hint-thumb.s
invalid-idiv.s
invalid-neon-v8.s
invalid-vector-index.s
ldr-pseudo-darwin.s MC: support different sized constants in constant pools 2014-07-18 16:05:14 +00:00
ldr-pseudo-obj-errors.s
ldr-pseudo-parse-errors.s Fix yet another unseen regression caused by r223113 2014-12-04 19:34:59 +00:00
ldr-pseudo.s
ldrd-strd-gnu-arm-bad-imm.s Fix for PR18921 (LDRD/STRD part):: 2014-04-04 10:17:56 +00:00
ldrd-strd-gnu-arm.s Fix for PR18921 (LDRD/STRD part):: 2014-04-04 10:17:56 +00:00
ldrd-strd-gnu-sp.s PR19320: 2014-04-03 11:29:15 +00:00
ldrd-strd-gnu-thumb-bad-regs.s Fix for PR18921 (LDRD/STRD part):: 2014-04-04 10:17:56 +00:00
ldrd-strd-gnu-thumb.s Fix for PR18921 (LDRD/STRD part):: 2014-04-04 10:17:56 +00:00
lit.local.cfg Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
load-store-acquire-release-v8-thumb.s
load-store-acquire-release-v8.s
ltorg-darwin.s MC: support different sized constants in constant pools 2014-07-18 16:05:14 +00:00
ltorg.s
macho-relocs-with-addend.s ARM: when falling back to scattered relocs, keep the type. 2014-07-04 10:58:05 +00:00
mapping-within-section.s
mode-switch.s
move-banked-regs.s Fix wrong encoding of MRSBanked. 2014-11-28 15:01:06 +00:00
mul-v4.s
multi-section-mapping.s
neon-abs-encoding.s
neon-absdiff-encoding.s
neon-add-encoding.s
neon-bitcount-encoding.s
neon-bitwise-encoding.s Add aliases for VAND imm to VBIC ~imm 2014-09-25 11:31:24 +00:00
neon-cmp-encoding.s
neon-convert-encoding.s
neon-crypto.s
neon-dup-encoding.s
neon-minmax-encoding.s
neon-mov-encoding.s
neon-mov-vfp.s [ARM] NEON 32-bit scalar moves are also available in VFPv2 2014-10-21 11:49:14 +00:00
neon-mul-accum-encoding.s
neon-mul-encoding.s
neon-neg-encoding.s
neon-pairwise-encoding.s
neon-reciprocal-encoding.s
neon-reverse-encoding.s
neon-satshift-encoding.s
neon-shift-encoding.s
neon-shiftaccum-encoding.s
neon-shuffle-encoding.s
neon-sub-encoding.s
neon-table-encoding.s
neon-v8.s
neon-vld-encoding.s Fix the ARM VLD3 (single 3-element structure to all lanes) 2014-04-08 18:00:52 +00:00
neon-vld-vst-align.s Remove the use of "%e" as it is not a valid expansion like "%t". 2014-04-10 21:55:58 +00:00
neon-vst-encoding.s
neon-vswp.s
neont2-abs-encoding.s
neont2-absdiff-encoding.s
neont2-add-encoding.s
neont2-bitcount-encoding.s
neont2-bitwise-encoding.s
neont2-cmp-encoding.s
neont2-convert-encoding.s
neont2-dup-encoding.s
neont2-minmax-encoding.s
neont2-mov-encoding.s
neont2-mul-accum-encoding.s
neont2-mul-encoding.s
neont2-neg-encoding.s
neont2-pairwise-encoding.s
neont2-reciprocal-encoding.s
neont2-reverse-encoding.s
neont2-satshift-encoding.s
neont2-shift-encoding.s
neont2-shiftaccum-encoding.s
neont2-shuffle-encoding.s
neont2-sub-encoding.s
neont2-table-encoding.s
neont2-vld-encoding.s
neont2-vst-encoding.s
not-armv4.s
obsolete-v8.s
pool.s Test commit - Added a new line 2014-04-16 16:45:18 +00:00
pr11877.s
relocated-mapping.s
simple-fp-encoding.s
single-precision-fp.s
symbol-variants-errors.s
symbol-variants.s [ELF] Prevent ARM ELF object writer from generating deprecated relocation code R_ARM_PLT32 2014-11-20 05:58:11 +00:00
target-expressions.s
thumb2-b.w-encodingT4.s
thumb2-branches.s
thumb2-bxj.s [Thumb2] BXJ should be undefined for v7M, v8A 2014-09-25 10:02:05 +00:00
thumb2-cbn-to-next-inst.s
thumb2-diagnostics.s Revert "[Thumb/Thumb2] Added restrictions on PC, LR, SP in the register list for PUSH/POP/LDM/STM. <Differential Revision: http://reviews.llvm.org/D6090>" 2014-12-04 14:10:20 +00:00
thumb2-exception-return-mclass.s [Thumb2] RFE, SRS and "SUBS pc, lr" are undefined on v7M 2014-10-20 15:37:35 +00:00
thumb2-ldrb-ldrh.s [Thumb2] LDRS?[BH] cannot load to the PC 2014-10-21 09:14:15 +00:00
thumb2-ldrd.s ARM: fixup more tests to specify the target more explicitly 2014-04-03 16:01:44 +00:00
thumb2-ldrexd-strexd.s [Thumb2] ldrexd and strexd are not defined on v7M 2014-09-29 10:57:29 +00:00
thumb2-mclass.s Thumb2 M-class MSR instruction support changes 2014-09-01 11:25:07 +00:00
thumb2-narrow-dp.ll
thumb2-pldw.s
thumb2-strd.s Fixed register class in STRD instruction for Thumb2 mode. 2014-04-04 08:14:13 +00:00
thumb2be-b.w-encoding.s ARM: Additional test files for thumb fixups (checked with llvm-mv -show-encoding) 2014-05-13 17:06:51 +00:00
thumb2be-beq.w-encoding.s ARM: Additional test files for thumb fixups (checked with llvm-mv -show-encoding) 2014-05-13 17:06:51 +00:00
thumb2be-movt-encoding.s ARM: Additional test files for thumb fixups (checked with llvm-mv -show-encoding) 2014-05-13 17:06:51 +00:00
thumb2be-movw-encoding.s ARM: Additional test files for thumb fixups (checked with llvm-mv -show-encoding) 2014-05-13 17:06:51 +00:00
thumb_rewrites.s Elide repeated register operand in Thumb1 instructions 2014-09-26 16:14:29 +00:00
thumb_set-diagnostics.s Reapply 'ARM IAS: support .thumb_set' 2014-03-20 06:05:33 +00:00
thumb_set.s Don't force symbols to be globals in .thumb_set. 2014-05-01 12:45:43 +00:00
thumb-diagnostics.s Revert "[Thumb/Thumb2] Added restrictions on PC, LR, SP in the register list for PUSH/POP/LDM/STM. <Differential Revision: http://reviews.llvm.org/D6090>" 2014-12-04 14:10:20 +00:00
thumb-far-jump.s
thumb-fp-armv8.s
thumb-hints.s
thumb-invalid-crypto.txt
thumb-neon-crypto.s
thumb-neon-v8.s
thumb-not-mclass.s Specify that the thumb setend and blx <immed> instructions are not valid on an m-class target 2014-08-05 15:11:59 +00:00
thumb-only-conditionals.s
thumb-shift-encoding.s
thumb-st_other.s
thumb-types.s ARM: take care not to set the ThumbFunc bit on TLS data symbols 2014-06-30 09:37:24 +00:00
thumb.s
thumbv7em.s Thumb2 M-class MSR instruction support changes 2014-09-01 11:25:07 +00:00
thumbv7m.s
udf-arm-diagnostics.s ARM: implement support for the UDF mnemonic 2014-05-14 03:47:39 +00:00
udf-arm.s ARM: implement support for the UDF mnemonic 2014-05-14 03:47:39 +00:00
udf-thumb-2-diagnostics.s ARM: implement support for the UDF mnemonic 2014-05-14 03:47:39 +00:00
udf-thumb-2.s ARM: implement support for the UDF mnemonic 2014-05-14 03:47:39 +00:00
udf-thumb-diagnostics.s ARM: implement support for the UDF mnemonic 2014-05-14 03:47:39 +00:00
udf-thumb.s ARM: implement support for the UDF mnemonic 2014-05-14 03:47:39 +00:00
unwind-stack-diagnostics.s
v8_IT_manual.s Revert "[Thumb/Thumb2] Added restrictions on PC, LR, SP in the register list for PUSH/POP/LDM/STM. <Differential Revision: http://reviews.llvm.org/D6090>" 2014-12-04 14:10:20 +00:00
variant-diagnostics.s
vfp4.s [ARM] Honor FeatureD16 in the assembler and disassembler 2014-11-05 12:06:39 +00:00
vfp-aliases-diagnostics.s
vfp-aliases.s
virtexts-arm.s Add ARM ERET and HVC virtualisation extension instructions. 2014-12-01 08:33:28 +00:00
virtexts-thumb.s Add Thumb HVC and ERET virtualisation extension instructions. 2014-12-01 08:39:19 +00:00
vmov-vmvn-byte-replicate.s Fix for PR18921, "vmov" part. 2014-04-24 06:03:01 +00:00
vmov-vmvn-illegal-cases.s Fix for PR18921, "vmov" part. 2014-04-24 06:03:01 +00:00
vorr-vbic-illegal-cases.s Add aliases for VAND imm to VBIC ~imm 2014-09-25 11:31:24 +00:00
vpush-vpop.s