llvm-6502/test/MC
Toma Tabacu e7684db38f [mips] [IAS] Fix LW with relative label operands.
Summary:
Previously, MCSymbolRefExpr::create() was called with a StringRef of the symbol
name, which it would then search for in the Symbols StringMap (from MCContext).

However, relative labels (which are temporary symbols) are apparently not stored
in the Symbols StringMap, so we end up creating a new {$,.L}tmp symbol
({$,.L}tmp00, {$,.L}tmp10 etc.) each time we create an MCSymbolRefExpr by
passing in the symbol name as a StringRef.

Fortunately, there is a version of MCSymbolRefExpr::create() which takes an
MCSymbol* and we already have an MCSymbol* at that point, so we can just pass
that in instead of the StringRef.

I also removed the local StringRef calls to MCSymbolRefExpr::create() from
expandMemInst(), as those cases can be handled by evaluateRelocExpr() anyway.

Reviewers: dsanders

Reviewed By: dsanders

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D9938

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239897 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-17 10:43:45 +00:00
..
AArch64 [AArch64] AsmParser should be case insensitive about accepting vector register names. 2015-06-08 21:32:16 +00:00
AMDGPU R600 -> AMDGPU rename 2015-06-13 03:28:10 +00:00
ARM [ARM] Add support for -sp- FPUs and FPU none to TargetParser 2015-06-05 13:31:19 +00:00
AsmParser Teaching llvm-mc how to understand the defsym command line option. This allows integer-constant symbols to be defined on the command line and used during assembly. 2015-06-07 01:46:24 +00:00
COFF
Disassembler [mips][microMIPS] Implement ERET and ERETNC instructions 2015-06-11 10:22:46 +00:00
ELF Fix a regression in .pop_section. 2015-06-08 20:08:55 +00:00
Hexagon [Hexagon] Reapply r239097 with tests corrected for shuffling and duplexing. 2015-06-05 16:00:11 +00:00
MachO MC: Remove obsolete MachO UseAggressiveSymbolFolding. 2015-06-04 20:27:42 +00:00
Markup
Mips [mips] [IAS] Fix LW with relative label operands. 2015-06-17 10:43:45 +00:00
PowerPC Properly handle the mftb instruction. 2015-06-16 16:01:15 +00:00
Sparc [llvm-mc] The object form of the GNU triple should be the same as the string form. 2015-06-16 09:57:38 +00:00
SystemZ
X86 Add support for parsing the XOR operator in Intel syntax inline assembly. 2015-06-14 12:59:45 +00:00