| Index: test/MC/X86/nacl-test-recursive-expand.s
|
| diff --git a/test/MC/X86/nacl-test-recursive-expand.s b/test/MC/X86/nacl-test-recursive-expand.s
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e39872ccbf361bb7597dd8d9ee820538e1b3dcf2
|
| --- /dev/null
|
| +++ b/test/MC/X86/nacl-test-recursive-expand.s
|
| @@ -0,0 +1,16 @@
|
| +// RUN: llvm-mc -filetype asm -triple i386-unknown-nacl %s | FileCheck %s
|
| +
|
| +// Test that instructions inside bundle-locked groups are not recursively
|
| +// expanded.
|
| +
|
| + .bundle_lock
|
| + andl $-32, %eax
|
| + jmpl *%eax
|
| + .bundle_unlock
|
| + inc %ecx
|
| +// CHECK: .bundle_lock
|
| +// CHECK-NEXT: andl $-32, %eax
|
| +// CHECK-NEXT: jmpl *%eax
|
| +// CHECK-NEXT: .bundle_unlock
|
| +// Check that there's nothing else before the next unrelated instruction
|
| +// CHECK-NEXT: inc
|
|
|