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