[llvm] r204250 - [mips] Making sure that a '.set noreorder' directive is correctly parsed

Matheus Almeida matheus.almeida at imgtec.com
Wed Mar 19 09:20:19 PDT 2014


Author: matheusalmeida
Date: Wed Mar 19 11:20:19 2014
New Revision: 204250

URL: http://llvm.org/viewvc/llvm-project?rev=204250&view=rev
Log:
[mips] Making sure that a '.set noreorder' directive is correctly parsed
and emitted and that no NOPs are emitted in a 'noreorder section'.

Modified:
    llvm/trunk/test/MC/Mips/mips_directives.s

Modified: llvm/trunk/test/MC/Mips/mips_directives.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/mips_directives.s?rev=204250&r1=204249&r2=204250&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/mips_directives.s (original)
+++ llvm/trunk/test/MC/Mips/mips_directives.s Wed Mar 19 11:20:19 2014
@@ -9,9 +9,14 @@ $BB0_2:
     .frame    $sp,0,$ra
     .mask     0x00000000,0
     .fmask    0x00000000,0
+
+# CHECK: .set noreorder
 # CHECK:   b 1332               # encoding: [0x10,0x00,0x01,0x4d]
+# CHECK-NOT: nop
 # CHECK:   j 1328               # encoding: [0x08,0x00,0x01,0x4c]
+# CHECK-NOT: nop
 # CHECK:   jal 1328             # encoding: [0x0c,0x00,0x01,0x4c]
+# CHECK-NOT: nop
 
     .set    noreorder
      b 1332





More information about the llvm-commits mailing list