[all-commits] [llvm/llvm-project] c5f7c0: [X86] Add x, t and g modifiers for inline asm

topperc via All-commits all-commits at lists.llvm.org
Thu Apr 30 17:46:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c5f7c039efe7ff09a44cfd252f6cb001ceed6269
      https://github.com/llvm/llvm-project/commit/c5f7c039efe7ff09a44cfd252f6cb001ceed6269
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86AsmPrinter.cpp
    A llvm/test/CodeGen/X86/asm-modifier2.ll
    M llvm/test/CodeGen/X86/inline-asm-bad-modifier.ll

  Log Message:
  -----------
  [X86] Add x, t and g modifiers for inline asm

This patch adds the x, t and g modifiers for inline asm from GCC. These will print a vector register as xmm*, ymm* or zmm* respectively.

I also fixed register names with modifiers with inteldialect so they are no longer printed with a leading %.

Patch by Amanieu d'Antras

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




More information about the All-commits mailing list