[PATCH] [mips] Improve error/warning messages and testing for the .cpload assembler directive.

Daniel Sanders daniel.sanders at imgtec.com
Tue Nov 4 02:25:48 PST 2014


Could you correct the N32 test case?

================
Comment at: test/MC/Mips/cpload.s:7-9
@@ -6,4 +6,5 @@
 
-# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64r2 -filetype=obj -o -| \
-# RUN: llvm-objdump -d -r -arch=mips - | \
-# RUN: FileCheck %s -check-prefix=OBJ64
+# RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -mattr=-o32,+n32 -filetype=obj -o -| \
+# RUN:  llvm-objdump -d -r -arch=mips - | \
+# RUN:    FileCheck %s -check-prefix=OBJ-N32
+
----------------
N32 is not allowed on a 32-bit processor since it's a 64-bit ABI. You should take the N64 run line and change it to N32 instead.

http://reviews.llvm.org/D5465






More information about the llvm-commits mailing list