diff options
author | Eric Astor <epastor@google.com> | 2020-07-01 12:39:28 -0400 |
---|---|---|
committer | Eric Astor <epastor@google.com> | 2020-07-01 12:41:07 -0400 |
commit | 353a169cb814334e47bc2e98f03931e62023665a (patch) | |
tree | 9e2752f5a550420209a6aa147eccffad34018977 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 0f9d623b63e87b4ba30c30fd884ecc333eb32b4a (diff) | |
download | llvm-353a169cb814334e47bc2e98f03931e62023665a.zip llvm-353a169cb814334e47bc2e98f03931e62023665a.tar.gz llvm-353a169cb814334e47bc2e98f03931e62023665a.tar.bz2 |
[ms] [llvm-ml] Use default RIP-relative addressing for x64 MASM.
Summary:
When parsing 64-bit MASM, treat memory operands with unspecified base register as RIP-based.
Documented in several places, including https://software.intel.com/en-us/articles/introduction-to-x64-assembly: "Unfortunately, MASM does not allow this form of opcode, but other assemblers like FASM and YASM do. Instead, MASM embeds RIP-relative addressing implicitly."
Reviewed By: thakis
Differential Revision: https://reviews.llvm.org/D73227
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions