[llvm-commits] [llvm] r158381 - in /llvm/trunk: lib/Target/Mips/MipsAsmPrinter.cpp test/CodeGen/Mips/null.ll
Akira Hatanaka
ahatanaka at mips.com
Tue Jun 12 19:41:14 PDT 2012
Author: ahatanak
Date: Tue Jun 12 21:41:14 2012
New Revision: 158381
URL: http://llvm.org/viewvc/llvm-project?rev=158381&view=rev
Log:
disable use of directive .set nomicromips
until this directive is pushed in gas to open source fsf
Patch by Reed Kotler.
Modified:
llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp
llvm/trunk/test/CodeGen/Mips/null.ll
Modified: llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp?rev=158381&r1=158380&r2=158381&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp Tue Jun 12 21:41:14 2012
@@ -200,7 +200,8 @@
OutStreamer.EmitRawText(StringRef("\t.set\tmips16"));
else
OutStreamer.EmitRawText(StringRef("\t.set\tnomips16"));
- OutStreamer.EmitRawText(StringRef("\t.set\tnomicromips"));
+ // leave out until FSF available gas has micromips changes
+ // OutStreamer.EmitRawText(StringRef("\t.set\tnomicromips"));
OutStreamer.EmitRawText("\t.ent\t" + Twine(CurrentFnSym->getName()));
}
OutStreamer.EmitLabel(CurrentFnSym);
Modified: llvm/trunk/test/CodeGen/Mips/null.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/null.ll?rev=158381&r1=158380&r2=158381&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Mips/null.ll (original)
+++ llvm/trunk/test/CodeGen/Mips/null.ll Tue Jun 12 21:41:14 2012
@@ -6,7 +6,7 @@
ret i32 0
; 16: .set mips16 # @main
-; 16: .set nomicromips
+
; 16: jr $ra
More information about the llvm-commits
mailing list