aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/X86/AlignedBundling/bundle-group-too-large-error.s
blob: 722bf7b9227f58bec0fa4d8c6a620306d3139f91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s

# CHECK: ERROR: Fragment can't be larger than a bundle size

  .text
foo:
  .bundle_align_mode 4
  pushq   %rbp

  .bundle_lock
  pushq   %r14
  callq   bar
  callq   bar
  callq   bar
  callq   bar
  .bundle_unlock