[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
Showing
- llvm/lib/Target/X86/X86AsmPrinter.cpp 45 additions, 1 deletionllvm/lib/Target/X86/X86AsmPrinter.cpp
- llvm/test/CodeGen/X86/asm-modifier2.ll 53 additions, 0 deletionsllvm/test/CodeGen/X86/asm-modifier2.ll
- llvm/test/CodeGen/X86/inline-asm-bad-modifier.ll 2 additions, 2 deletionsllvm/test/CodeGen/X86/inline-asm-bad-modifier.ll
Loading
Please register or sign in to comment