aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/X86/AlignedBundling/bundle-group-too-large-error.s
blob: a9a78a79569f5c7e070bfee33260fe5aff47d4f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# RUN: not 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