[PATCH] D20727: [mips] Weaken asm predicate for memory offsets

Simon Dardis via llvm-commits llvm-commits at lists.llvm.org
Fri May 27 05:54:35 PDT 2016


sdardis created this revision.
sdardis added reviewers: dsanders, vkalintiris.
sdardis added a subscriber: llvm-commits.
sdardis set the repository for this revision to rL LLVM.
Herald added subscribers: sdardis, dsanders.

The isMemWithSimmOffset predicate rejects relocations which is incorrect
behavior. Linkers and other tools should handle|warn|error when the
field overflows.

Repository:
  rL LLVM

http://reviews.llvm.org/D20727

Files:
  lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  test/MC/Mips/mips1/valid.s
  test/MC/Mips/mips2/valid.s
  test/MC/Mips/mips3/valid.s
  test/MC/Mips/mips32/valid.s
  test/MC/Mips/mips32r2/valid.s
  test/MC/Mips/mips32r3/valid.s
  test/MC/Mips/mips32r5/valid.s
  test/MC/Mips/mips32r6/valid.s
  test/MC/Mips/mips4/valid.s
  test/MC/Mips/mips5/valid.s
  test/MC/Mips/mips64/valid.s
  test/MC/Mips/mips64r2/valid.s
  test/MC/Mips/mips64r3/valid.s
  test/MC/Mips/mips64r5/valid.s
  test/MC/Mips/mips64r6/valid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20727.58773.patch
Type: text/x-patch
Size: 30434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160527/9f594391/attachment.bin>


More information about the llvm-commits mailing list