aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/X86/AlignedBundling/pad-align-to-bundle-end.s
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@google.com>2013-01-31 17:00:03 +0000
committerDerek Schuff <dschuff@google.com>2013-01-31 17:00:03 +0000
commitb11917c1aa7348a67d80149fa9613f09a8d56f14 (patch)
treed4c8944fea705dc2a7631df663bd9ae2aa82f4b4 /test/MC/X86/AlignedBundling/pad-align-to-bundle-end.s
parent1711876988c796d69ba4d30e3aede4527237f79c (diff)
downloadexternal_llvm-b11917c1aa7348a67d80149fa9613f09a8d56f14.zip
external_llvm-b11917c1aa7348a67d80149fa9613f09a8d56f14.tar.gz
external_llvm-b11917c1aa7348a67d80149fa9613f09a8d56f14.tar.bz2
[MC] bundle alignment: prevent padding instructions from crossing bundle boundaries
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86/AlignedBundling/pad-align-to-bundle-end.s')
-rw-r--r--test/MC/X86/AlignedBundling/pad-align-to-bundle-end.s5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/MC/X86/AlignedBundling/pad-align-to-bundle-end.s b/test/MC/X86/AlignedBundling/pad-align-to-bundle-end.s
index 7cb6d06..6ca4046 100644
--- a/test/MC/X86/AlignedBundling/pad-align-to-bundle-end.s
+++ b/test/MC/X86/AlignedBundling/pad-align-to-bundle-end.s
@@ -26,7 +26,8 @@ foo:
# Here we have to pad until the end of the *next* boundary because
# otherwise the group crosses a boundary.
# CHECK: 1a: nop
+# The nop sequence may be implemented as one instruction or many, but if
+# it's one instruction, that instruction cannot itself cross the boundary.
+# CHECK: 20: nop
# CHECK-NEXT: 26: callq
# CHECK-NEXT: 2b: callq
-
-