[PATCH] D12760: [mips] Changed the way symbols are handled in dla and la instructions to allow simple expressions.

Scott Egerton via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 10 07:21:20 PDT 2015


s.egerton created this revision.
s.egerton added reviewers: dsanders, vkalintiris.
s.egerton added a subscriber: llvm-commits.

An instruction like "(d)la $5, symbol+8" previously would have crashed the
assembler as it contains an expression. This is now fixed.
A few tests cases have also been changed to reflect these changes, however
these should only be syntax changes. Some new test cases have also been
added.

http://reviews.llvm.org/D12760

Files:
  lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  test/MC/Mips/macro-dla.s
  test/MC/Mips/macro-la.s
  test/MC/Mips/mips-expansions.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12760.34442.patch
Type: text/x-patch
Size: 18483 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150910/2f08348b/attachment.bin>


More information about the llvm-commits mailing list