[PATCH] D143406: [MIPS] Asm: Improved diagnostics when a memory operand and unsupported CPU feature are involved

Davide Mor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 6 07:58:04 PST 2023


Tazdevil971 created this revision.
Tazdevil971 added reviewers: lattner, atanasyan.
Tazdevil971 added projects: Backend, LLVM.
Herald added subscribers: jrtc27, hiraditya, kristof.beyls, arichardson, sdardis.
Herald added a project: All.
Tazdevil971 requested review of this revision.

This improves diagnostic by using the same changes set up to fix the same problem on AArch64, see D40363 <https://reviews.llvm.org/D40363>.

This applies to all instructions that contain a memory operand and are currently not disabled via some feature flag.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143406

Files:
  llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  llvm/test/MC/Mips/cnmips/invalid-wrong-error.s
  llvm/test/MC/Mips/cnmips/invalid.s
  llvm/test/MC/Mips/eva/invalid-noeva-wrong-error.s
  llvm/test/MC/Mips/eva/invalid-noeva.s
  llvm/test/MC/Mips/eva/invalid_R6.s
  llvm/test/MC/Mips/micromips32r6/invalid-wrong-error.s
  llvm/test/MC/Mips/micromips32r6/invalid.s
  llvm/test/MC/Mips/mips1/invalid-mips2-wrong-error.s
  llvm/test/MC/Mips/mips1/invalid-mips2.s
  llvm/test/MC/Mips/mips1/invalid-mips3-wrong-error.s
  llvm/test/MC/Mips/mips1/invalid-mips3.s
  llvm/test/MC/Mips/mips1/invalid-mips4-wrong-error.s
  llvm/test/MC/Mips/mips1/invalid-mips4.s
  llvm/test/MC/Mips/mips1/invalid-mips5.s
  llvm/test/MC/Mips/mips2/invalid-mips3-wrong-error.s
  llvm/test/MC/Mips/mips2/invalid-mips3.s
  llvm/test/MC/Mips/mips2/invalid-mips4-wrong-error.s
  llvm/test/MC/Mips/mips2/invalid-mips4.s
  llvm/test/MC/Mips/mips32r6/invalid-mips1-wrong-error.s
  llvm/test/MC/Mips/mips32r6/invalid-mips1.s
  llvm/test/MC/Mips/mips64r6/invalid-mips1-wrong-error.s
  llvm/test/MC/Mips/mips64r6/invalid-mips1.s
  llvm/test/MC/Mips/mips64r6/invalid-mips3-wrong-error.s
  llvm/test/MC/Mips/mips64r6/invalid-mips3.s
  llvm/test/MC/Mips/target-soft-float.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143406.495123.patch
Type: text/x-patch
Size: 54632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230206/8b99d466/attachment-0001.bin>


More information about the llvm-commits mailing list