[mips][ias] Implement .cpreturn directive.
[oota-llvm.git] / test / MC / Mips / set-nomacro.s
index 3f82f81613158162845326d2677901bad75db0dd..3bfee363351c5d8ee905d6dae6cd2ed23bbaa892 100644 (file)
   ulw $8, 2($9)
   ulw $8, 0x8000($9)
 
+  jal foo
+  .option pic2
+  jal foo
+  .option pic0
+
   add $4, $5, $6
 
   .set noreorder
   ulw $8, 0x8000($9)
 # CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
 
+  jal foo
+# CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
+  .option pic2
+  jal foo
+# CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
+  .option pic0
+
   add $4, $5, $6
 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions