[PATCH] [mips] Add assembler support for the .cprestore directive.

Ed Maste emaste at freebsd.org
Wed Jan 28 13:20:03 PST 2015


================
Comment at: lib/Target/Mips/AsmParser/MipsAsmParser.cpp:1386-1387
@@ +1385,4 @@
+    } else {
+      Warning(IDLoc, "no .cprestore used in PIC mode");
+    }
+  }
----------------
According to http://techpubs.sgi.com/library/dynaweb_docs/0530/SGI_Developer/books/Cplr_PTG/sgi_html/apa.html .cprestore should be a silent nop in non-PIC mode so that the same assembly source can be used in both PIC and non-PIC mode.

http://reviews.llvm.org/D6267

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list