summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Sehr <sehr@google.com>2012-12-05 21:01:27 +0000
committerDavid Sehr <sehr@google.com>2012-12-05 21:01:27 +0000
commitf2a1c83c86ceefb9a241aa728d1d1239a64b894e (patch)
treeadf9dec3608f0462147f05c82962a7472d5abd08 /test
parentfa8de2403078353fe3c7ae160bec22fa23d4d315 (diff)
downloadllvm-f2a1c83c86ceefb9a241aa728d1d1239a64b894e.tar.gz
llvm-f2a1c83c86ceefb9a241aa728d1d1239a64b894e.tar.bz2
llvm-f2a1c83c86ceefb9a241aa728d1d1239a64b894e.tar.xz
Correct ARM NOP encoding
The encoding of NOP in ARMAsmBackend.cpp is missing a trailing zero, which causes the emission of a coprocessor instruction rather than "mov r0, r0" as indicated in the comment. The test also checks for the wrong encoding. http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121203/157919.html git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/MachO/ARM/nop-armv4-padding.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/MC/MachO/ARM/nop-armv4-padding.s b/test/MC/MachO/ARM/nop-armv4-padding.s
index dd0f77c266..8e03d17a70 100644
--- a/test/MC/MachO/ARM/nop-armv4-padding.s
+++ b/test/MC/MachO/ARM/nop-armv4-padding.s
@@ -7,4 +7,4 @@ x:
.align 4
add r0, r1, r2
-@ CHECK: ('_section_data', '020081e0 00001a0e 00001a0e 00001a0e 020081e0')
+@ CHECK: ('_section_data', '020081e0 0000a0e1 0000a0e1 0000a0e1 020081e0')