diff options
| author | Matheus Almeida <matheus.almeida@imgtec.com> | 2014-03-19 16:20:19 +0000 |
|---|---|---|
| committer | Matheus Almeida <matheus.almeida@imgtec.com> | 2014-03-19 16:20:19 +0000 |
| commit | 004d61f698e002c96f57d173ff6f28ff1da7278b (patch) | |
| tree | df799384019d4c498dd99c5928ab7e9b986d25a6 | |
| parent | 0883e48f7e72b666a999736eddb8196f369ce274 (diff) | |
| download | bcm5719-llvm-004d61f698e002c96f57d173ff6f28ff1da7278b.tar.gz bcm5719-llvm-004d61f698e002c96f57d173ff6f28ff1da7278b.zip | |
[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
| -rw-r--r-- | llvm/test/MC/Mips/mips_directives.s | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/MC/Mips/mips_directives.s b/llvm/test/MC/Mips/mips_directives.s index 1656c103b2b..12a4b95f722 100644 --- a/llvm/test/MC/Mips/mips_directives.s +++ b/llvm/test/MC/Mips/mips_directives.s @@ -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 |

