llvm-project/llvm/lib
Eric Astor 353a169cb8 [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
2020-07-01 12:41:07 -04:00
..
Analysis [Alignment] TargetLowering::hasPairedLoad must use Align for RequiredAlignment 2020-07-01 14:32:30 +00:00
AsmParser LLParser: Accept align(N) as new syntax for parameter attribute 2020-06-26 18:10:21 -04:00
BinaryFormat [WebAssembly] Adding 64-bit version of R_WASM_MEMORY_ADDR_* relocs 2020-06-15 10:07:42 -07:00
Bitcode [BitcodeReader] Fix DelayedShuffle handling for ConstantExpr shuffles. 2020-06-30 13:23:07 -07:00
Bitstream [Bitcode] reserve in front of push_back loops. NFCI. 2020-05-01 15:52:53 +02:00
CodeGen [Outliner] Set nounwind for outlined functions 2020-07-01 17:18:34 +01:00
DWARFLinker [Clang] Restore replace_path_prefix instead of startswith 2020-05-13 13:49:14 -04:00
DebugInfo [PDB] Defer public serialization until PDB writing 2020-06-30 11:28:04 -07:00
Demangle Give microsoftDemangle() an outparam for how many input bytes were consumed. 2020-05-20 16:17:31 -04:00
ExecutionEngine [SVE] Remove calls to VectorType::getNumElements from ExecutionEngine 2020-06-30 11:05:38 -07:00
Extensions Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00
Frontend [openmp] Move Directive and Clause helper function to tablegen 2020-06-30 14:51:59 -04:00
FuzzMutate [SVE] Remove calls to VectorType::getNumElements from FuzzMutate 2020-06-23 11:02:20 -07:00
Fuzzer
IR Make dyn_cast results explicitly auto* instead of just auto. 2020-07-01 16:38:52 +01:00
IRReader Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
LTO Remove GlobalValue::getAlignment(). 2020-06-23 19:13:42 -07:00
LineEditor
Linker [SVE] Eliminate calls to default-false VectorType::get() from Linker 2020-05-29 17:43:15 -07:00
MC [ms] [llvm-ml] Use default RIP-relative addressing for x64 MASM. 2020-07-01 12:41:07 -04:00
MCA [MCA][InstrBuilder] Correctly mark reserved resources in initializeUsedResources. 2020-05-10 19:25:54 +01:00
Object [ThinLTO] Always parse module level inline asm with At&t dialect (PR46503) 2020-07-01 09:43:45 +02:00
ObjectYAML [DWARFYAML][debug_abbrev] Emit 0 byte for terminating abbreviations. 2020-07-02 00:09:29 +08:00
Option
Passes [PM] Fix new PM to perform SpeculativeExecution as in old PM 2020-06-30 15:21:04 +03:00
ProfileData Revert "[PGO] Extend the value profile buckets for mem op sizes." 2020-06-25 11:13:49 -07:00
Remarks YAMLRemarkParser.cpp - remove duplicate RemarkParser.h include. NFC. 2020-06-08 13:59:05 +01:00
Support Fixup BDVER1 and ZNVER1 definitions that were accidentally changed in recent refactor. 2020-06-30 18:15:33 -07:00
TableGen Fix ubsan error in tblgen with signed left shift 2020-06-16 11:15:09 -07:00
Target [ms] [llvm-ml] Use default RIP-relative addressing for x64 MASM. 2020-07-01 12:41:07 -04:00
Testing
TextAPI [TextAPI/MachO] Fix style issues. NFC 2020-06-24 14:43:45 -07:00
ToolDrivers [COFF] Use Expected in COFFObjectFile creation 2020-05-08 14:22:28 -07:00
Transforms [InstCombine] Don't let an alignment assume prevent new/delete removals. 2020-07-01 09:22:32 -07:00
WindowsManifest
XRay [xray] Add llvm-xray extract support for 32 bit ARM 2020-05-28 18:41:11 -04:00
CMakeLists.txt Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00
LLVMBuild.txt Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00