[Test] Fix YAML mapping keys duplication. NFC.
authorAnton Sidorenko <anton.sidorenko@syntacore.com>
Mon, 16 Jan 2023 14:58:28 +0000 (17:58 +0300)
committerAnton Sidorenko <anton.sidorenko@syntacore.com>
Thu, 9 Feb 2023 09:59:50 +0000 (12:59 +0300)
commit6820cb2dd5cfa103953373b5a00b8e59365bad7f
treec891c41686945cc0f7d5537ab85d989c03629dbe
parent10629bb96aebfefaadfb0069bc7e276b868fcef9
[Test] Fix YAML mapping keys duplication. NFC.

YAML specification does not allow keys duplication an a mapping. However, YAML
parser in LLVM does not have any check on that and uses only the last key entry.
In this change duplicated keys are merged to satisfy the spec.

Differential Revision: https://reviews.llvm.org/D141848
bolt/test/AArch64/Inputs/plt-gnu-ld.yaml
llvm/test/CodeGen/AArch64/GlobalISel/select-int-ext.mir
llvm/test/CodeGen/ARM/machine-sink-multidef.mir
llvm/test/CodeGen/PowerPC/jump-tables-collapse-rotate-remove-SrcMI.mir
llvm/test/CodeGen/PowerPC/mi-peephole.mir
llvm/test/CodeGen/X86/fixup-bw-inst.mir
llvm/test/tools/llvm-objcopy/COFF/redefine-symbol.test
llvm/test/tools/llvm-reduce/mir/preserve-func-info.mir
llvm/unittests/TextAPI/TextStubV4Tests.cpp