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

topperc via All-commits all-commits at lists.llvm.org
Thu Jun 11 16:10:27 PDT 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 56c6099f23841b09edbb6bb4607f8aa417ede9c2
      https://github.com/llvm/llvm-project/commit/56c6099f23841b09edbb6bb4607f8aa417ede9c2
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-06-11 (Thu, 11 Jun 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

(cherry picked from commit c5f7c039efe7ff09a44cfd252f6cb001ceed6269)


  Commit: 2dc664d578f0e9c8ea5975eed745e322fa77bffe
      https://github.com/llvm/llvm-project/commit/2dc664d578f0e9c8ea5975eed745e322fa77bffe
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-06-11 (Thu, 11 Jun 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/ValueMapper.cpp

  Log Message:
  -----------
  ValueMapper does not preserve inline assembly dialect when remapping the type

Bug report: https://bugs.llvm.org/show_bug.cgi?id=45291

Patch by Tomasz Miąsko

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

(cherry picked from commit 5f65faef2c61bfb5e041f74db61665f43a05e9db)


Compare: https://github.com/llvm/llvm-project/compare/b6efa2365812...2dc664d578f0


More information about the All-commits mailing list