[PATCH] D72417: [ms] [X86] Use "P" modifier on all branch-target operands in inline X86 assembly.

Eric Astor via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 8 14:51:11 PST 2020


epastor created this revision.
Herald added subscribers: llvm-commits, cfe-commits, hiraditya.
Herald added projects: clang, LLVM.

Extend llvm.org/D71677 <https://reviews.llvm.org/D71677> to apply to all branch-target operands, rather than special-casing call instructions.

Also add a regression test for llvm.org/PR44272, since this finishes fixing it.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72417

Files:
  clang/test/CodeGen/ms-inline-asm-64.c
  llvm/include/llvm/MC/MCInstrDesc.h
  llvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h
  llvm/lib/MC/MCParser/AsmParser.cpp
  llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
  llvm/lib/Target/X86/AsmParser/X86Operand.h
  llvm/lib/Target/X86/X86InstrControl.td
  llvm/lib/Target/X86/X86InstrInfo.td
  llvm/utils/TableGen/InstrInfoEmitter.cpp
  llvm/utils/TableGen/X86RecognizableInstr.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72417.236912.patch
Type: text/x-patch
Size: 16566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200108/c34b3b2a/attachment.bin>


More information about the cfe-commits mailing list