llvm/test/MC
Nirav Dave 4d34462668 [MC] Change AsmParser to leverage Assembler during evaluation
Teach AsmParser to check with Assembler for when evaluating constant
expressions.  This improves the handing of preprocessor expressions
that must be resolved at parse time. This idiom can be found as
assembling-time assertion checks in source-level assemblers. Note that
this relies on the MCStreamer to keep sufficient tabs on Section /
Fragment information which the MCAsmStreamer does not. As a result the
textual output may fail where the equivalent object generation would
pass. This can most easily be resolved by folding the MCAsmStreamer
and MCObjectStreamer together which is planned for in a separate
patch.

Currently, this feature is only enabled for assembly input, keeping IR
compilation consistent between assembly and object generation.

Reviewers: echristo, rnk, probinson, espindola, peter.smith

Reviewed By: peter.smith

Subscribers: eraman, peter.smith, arichardson, jyknight, hiraditya, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331218 91177308-0d34-0410-b5e6-96231b3b80d8
2018-04-30 19:22:40 +00:00
..
AArch64 [AArch64][SVE] Asm: Improve diagnostics for gather loads. 2018-04-30 07:24:38 +00:00
AMDGPU AMDGPU: Add Vega12 and Vega20 2018-04-30 19:08:16 +00:00
ARM [ARM] Do not convert some vmov instructions 2018-04-04 08:54:19 +00:00
AsmParser [MC] Change AsmParser to leverage Assembler during evaluation 2018-04-30 19:22:40 +00:00
AVR [AVR] Implement some missing code paths 2017-12-11 11:01:27 +00:00
BPF bpf: New disassembler testcases for 32-bit subregister support 2018-02-23 23:49:35 +00:00
COFF [codeview] Ignore .cv_loc directives at the end of a function 2018-04-25 23:34:15 +00:00
Disassembler AMDGPU: Add Vega12 and Vega20 2018-04-30 19:08:16 +00:00
ELF ELFObjectWriter: Allow one unique symver per symbol 2018-04-27 20:32:34 +00:00
Hexagon [Hexagon] Recognize and handle :endloop01 2018-03-30 15:29:47 +00:00
Lanai
MachO MachO: trap unreachable instructions 2018-04-13 22:25:20 +00:00
Mips [mips] Fix microMIPS loads and stores. 2018-04-30 09:44:44 +00:00
PowerPC [PowerPC] Code cleanup. Remove instructions that were withdrawn from Power 9. 2018-02-23 15:55:16 +00:00
RISCV [RISCV] Allow call pseudoinstruction to be used to call a function name that coincides with a register name 2018-04-25 17:25:29 +00:00
Sparc
SystemZ
WebAssembly [WebAssembly] Section symbols must have local binding 2018-04-27 00:17:21 +00:00
X86 [X86] Add a Requires<[In64BitMode]> to FARJMP64 2018-04-30 06:21:24 +00:00