[all-commits] [llvm/llvm-project] 1c545f: [ms] [X86] Use "P" modifier on all branch-target o...

Eric Astor via All-commits all-commits at lists.llvm.org
Thu Jan 9 12:00:00 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c545f6dbcbb3ada2dfef2c6afbc1ca8939135cb
      https://github.com/llvm/llvm-project/commit/1c545f6dbcbb3ada2dfef2c6afbc1ca8939135cb
  Author: Eric Astor <epastor at google.com>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

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

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

Summary:
Extend 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.

Reviewers: thakis, rnk

Reviewed By: thakis

Subscribers: merge_guards_bot, hiraditya, cfe-commits, llvm-commits

Tags: #clang, #llvm

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




More information about the All-commits mailing list