1# RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=jmp -x86-pad-max-prefix-size=5 %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s 2 # Check instructions can be aligned correctly along with option -x86-pad-max-prefix-size=5 3 4 .text 5 .p2align 5 6 .rept 24 7 int3 8 .endr 9 # We should not increase the length of this jmp to reduce the bytes of 10 # following nops, doing so would make the jmp misaligned. 11# CHECK: 18: jmp 12 jmp bar 13# CHECK: 1d: nopl (%rax) 14# CHECK: 20: int3 15 .p2align 5 16 int3 17