summaryrefslogtreecommitdiff
path: root/test/MC/X86/x86_nop.s
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@freebsd.org>2012-09-18 16:19:10 +0000
committerRoman Divacky <rdivacky@freebsd.org>2012-09-18 16:19:10 +0000
commit36b07f2f07d3dbd4b803a2ac899d6c3c2202ae8c (patch)
tree3d08093528454f5fe7165acd324c7b3fa9dd11e6 /test/MC/X86/x86_nop.s
parent536a88ad5bf160232205192a7ce72e50bfadbded (diff)
downloadllvm-36b07f2f07d3dbd4b803a2ac899d6c3c2202ae8c.tar.gz
llvm-36b07f2f07d3dbd4b803a2ac899d6c3c2202ae8c.tar.bz2
llvm-36b07f2f07d3dbd4b803a2ac899d6c3c2202ae8c.tar.xz
Add test for r164132.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164134 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86/x86_nop.s')
-rw-r--r--test/MC/X86/x86_nop.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/X86/x86_nop.s b/test/MC/X86/x86_nop.s
new file mode 100644
index 0000000000..37dec252b7
--- /dev/null
+++ b/test/MC/X86/x86_nop.s
@@ -0,0 +1,7 @@
+# RUN: llvm-mc -filetype=obj -mcpu=geode %s -o %t
+# RUN: llvm-objdump -disassemble %t | FileCheck %s
+
+# CHECK-NOT: nopw
+inc %eax
+.align 8
+inc %eax