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.
Paths
| Differential D72417
[ms] [X86] Use "P" modifier on all branch-target operands in inline X86 assembly. ClosedPublic Authored by epastor on Jan 8 2020, 2:50 PM.
Details 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.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 8 2020, 2:50 PM Comment Actions Unit tests: pass. 61323 tests passed, 0 failed and 736 were skipped. clang-tidy: fail. Please fix clang-tidy findings. clang-format: fail. Please format your changes with clang-format by running git-clang-format HEAD^ or applying this patch. Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml This revision is now accepted and ready to land.Jan 8 2020, 6:30 PM Closed by commit rG1c545f6dbcbb: [ms] [X86] Use "P" modifier on all branch-target operands in inline X86… (authored by epastor). · Explain WhyJan 9 2020, 12:07 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 236912 clang/test/CodeGen/ms-inline-asm-64.cllvm/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
|
clang-tidy: error: expected '(' after 'asm' [clang-diagnostic-error]
clang-tidy: error: use of undeclared identifier 'rax' [clang-diagnostic-error]
clang-tidy: error: use of undeclared identifier 'address' [clang-diagnostic-error]