[all-commits] [llvm/llvm-project] 1a3e89: [MIR] Add comments to INLINEASM immediate flag Mac...

Konstantin Schwarz via All-commits all-commits at lists.llvm.org
Thu Apr 16 04:48:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a3e89aa2bd26ad05b25635457bad28f46427eeb
      https://github.com/llvm/llvm-project/commit/1a3e89aa2bd26ad05b25635457bad28f46427eeb
  Author: Konstantin Schwarz <konstantin.schwarz at hightec-rt.com>
  Date:   2020-04-16 (Thu, 16 Apr 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetInstrInfo.h
    M llvm/include/llvm/IR/InlineAsm.h
    M llvm/lib/CodeGen/MIRPrinter.cpp
    M llvm/lib/CodeGen/MachineInstr.cpp
    M llvm/lib/CodeGen/TargetInstrInfo.cpp
    M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
    M llvm/lib/Target/ARM/ARMBaseInstrInfo.h
    M llvm/test/CodeGen/AArch64/seqpairspill.mir
    M llvm/test/CodeGen/AMDGPU/endpgm-dce.mir
    M llvm/test/CodeGen/AMDGPU/rename-independent-subregs.mir
    M llvm/test/CodeGen/AMDGPU/sched-assert-dead-def-subreg-use-other-subreg.mir
    M llvm/test/CodeGen/AMDGPU/sched-handleMoveUp-subreg-def-across-subreg-def.mir
    M llvm/test/CodeGen/AMDGPU/subreg-undef-def-with-other-subreg-defs.mir
    M llvm/test/CodeGen/AMDGPU/vccz-corrupt-bug-workaround.mir
    M llvm/test/CodeGen/ARM/ifcvt-diamond-unanalyzable-common.mir
    M llvm/test/CodeGen/MIR/X86/early-clobber-register-flag.mir
    M llvm/test/CodeGen/MIR/X86/inline-asm-registers.mir
    M llvm/test/CodeGen/Mips/longbranch/branch-limits-fp-micromips.mir
    M llvm/test/CodeGen/Mips/longbranch/branch-limits-fp-micromipsr6.mir
    M llvm/test/CodeGen/Mips/longbranch/branch-limits-fp-mips.mir
    M llvm/test/CodeGen/Mips/longbranch/branch-limits-fp-mipsr6.mir
    M llvm/test/CodeGen/Mips/longbranch/branch-limits-msa.mir
    M llvm/test/CodeGen/Thumb2/high-reg-spill.mir
    M llvm/test/CodeGen/X86/inline-asm-avx512f-x-constraint.ll
    M llvm/test/CodeGen/X86/inline-asm-default-clobbers.ll
    M llvm/test/CodeGen/X86/stack-folding-adx.mir
    M llvm/test/CodeGen/X86/stack-folding-bmi2.mir
    M llvm/test/CodeGen/X86/stack-folding-fp-nofpexcept.mir

  Log Message:
  -----------
  [MIR] Add comments to INLINEASM immediate flag MachineOperands

Summary:
The INLINEASM MIR instructions use immediate operands to encode the values of some operands.
The MachineInstr pretty printer function already handles those operands and prints human readable annotations instead of the immediates. This patch adds similar annotations to the output of the MIRPrinter, however uses the new MIROperandComment feature.

Reviewers: SjoerdMeijer, arsenm, efriedma

Reviewed By: arsenm

Subscribers: qcolombet, sdardis, jvesely, wdng, nhaehnle, hiraditya, jrtc27, atanasyan, kerbowa, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list