[all-commits] [llvm/llvm-project] 4d81ae: [MIR] Fix CFI_INSTRUCTION escape printing

Scott Linder via All-commits all-commits at lists.llvm.org
Wed Jun 24 15:15:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d81aec40c62a0599a4bfbd7b45df78b302dbc3c
      https://github.com/llvm/llvm-project/commit/4d81aec40c62a0599a4bfbd7b45df78b302dbc3c
  Author: Scott Linder <Scott.Linder at amd.com>
  Date:   2020-06-24 (Wed, 24 Jun 2020)

  Changed paths:
    M llvm/lib/CodeGen/MachineOperand.cpp
    M llvm/test/CodeGen/MIR/AArch64/cfi.mir
    A llvm/test/CodeGen/MIR/Generic/cfi-escape.mir

  Log Message:
  -----------
  [MIR] Fix CFI_INSTRUCTION escape printing

Summary:
The printer seems to intend to not print the trailing comma but has a
copy-paste error for the last value in the escape, and the parser
enforces having no trailing comma, but somehow a test was never included
to actually confirm it.

Reviewers: thegameg, arsenm

Reviewed By: thegameg, arsenm

Subscribers: wdng, arsenm, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82478




More information about the All-commits mailing list