[PATCH] D78977: [X86] Add x, t and g modifiers for inline asm

Amanieu d'Antras via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 27 18:20:52 PDT 2020


Amanieu created this revision.
Amanieu added a reviewer: craig.topper.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

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 %.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78977

Files:
  llvm/lib/Target/X86/X86AsmPrinter.cpp
  llvm/test/CodeGen/X86/asm-modifier2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78977.260518.patch
Type: text/x-patch
Size: 4806 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200428/a27378b3/attachment.bin>


More information about the llvm-commits mailing list