1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00

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

and emitted and that no NOPs are emitted in a 'noreorder section'.

llvm-svn: 204250
This commit is contained in:
Matheus Almeida 2014-03-19 16:20:19 +00:00
parent 17d50b69f6
commit 78b2682fd9

View File

@ -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