[PATCH] [mips] Improve support for the .set at/noat assembler directives.

Toma Tabacu toma.tabacu at imgtec.com
Mon Jan 26 05:17:39 PST 2015


Hi dsanders,

Made the following changes:
  Added calls to emitDirectiveSetNoAt() and emitDirectiveSetAt().
  Added special emit function for .set at=$reg, emitDirectiveSetAtWithArg(unsigned RegNo).
  Improved parsing error checks for .set at.
  Refactored parser code for .set at.
  Improved testing of both directives.
  Improved code readability and comments.

http://reviews.llvm.org/D7176

Files:
  lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
  lib/Target/Mips/MipsTargetStreamer.h
  test/MC/Mips/mips-noat.s
  test/MC/Mips/set-at-directive-explicit-at.s
  test/MC/Mips/set-at-directive.s
  test/MC/Mips/set-at-noat-bad-syntax.s

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7176.18754.patch
Type: text/x-patch
Size: 13059 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150126/90c25b76/attachment.bin>


More information about the llvm-commits mailing list