[PATCH] D13017: [mips][ias] Implement .cpreturn directive.

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 06:07:37 PDT 2015


dsanders created this revision.
dsanders added a reviewer: vkalintiris.
dsanders added subscribers: theraven, seanbruno, emaste, llvm-commits.

Based on a patch by David Chisnall. I've modified the original patch as follows:
* Moved the expansion to the TargetStreamers so that the directive isn't
  expanded when emitting assembly.
* Fixed an operand order bug.
* Changed the move instructions from DADDu to OR to match recent changes to GAS.

http://reviews.llvm.org/D13017

Files:
  lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
  lib/Target/Mips/MipsTargetStreamer.h
  test/MC/Mips/cpsetup.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13017.35242.patch
Type: text/x-patch
Size: 6488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150921/37345b00/attachment.bin>


More information about the llvm-commits mailing list