[all-commits] [llvm/llvm-project] 6820cb: [Test] Fix YAML mapping keys duplication. NFC.

Anton Sidorenko via All-commits all-commits at lists.llvm.org
Thu Feb 9 02:00:21 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6820cb2dd5cfa103953373b5a00b8e59365bad7f
      https://github.com/llvm/llvm-project/commit/6820cb2dd5cfa103953373b5a00b8e59365bad7f
  Author: Anton Sidorenko <anton.sidorenko at syntacore.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

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

  Log Message:
  -----------
  [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




More information about the All-commits mailing list