[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / X86 / AlignedBundling / bundle-subtarget-change-error.s
blob67ac55ed2f0345c51dbbb61ac0226977314f12b5
1 # RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -mcpu=pentiumpro %s -o - 2>&1 | FileCheck %s
2 # RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -mcpu=pentiumpro -mc-relax-all %s -o - 2>&1 | FileCheck %s
4 # Switching mode will change subtarget, which we can't do within a bundle
5 .text
6 .code64
7 .bundle_align_mode 4
8 foo:
9 pushq %rbp
10 .bundle_lock
11 addl %ebp, %eax
12 .code32
13 movb $0x0, (%si)
14 .bundle_unlock
16 CHECK: LLVM ERROR: A Bundle can only have one Subtarget.