1/// Test that -malign-branch* and -mbranches-within-32B-boundaries are handled for assembly files.
2
3// RUN: %clang -target x86_64 -malign-branch-boundary=16 %s -c -### 2>&1 | FileCheck %s --check-prefix=BOUNDARY
4// BOUNDARY: "-mllvm" "-x86-align-branch-boundary=16"
5
6// RUN: %clang -target x86_64 -malign-branch=fused,jcc,jmp %s -c -### %s 2>&1 | FileCheck %s --check-prefix=TYPE
7// TYPE: "-mllvm" "-x86-align-branch=fused+jcc+jmp"
8
9// RUN: %clang -target x86_64 -mpad-max-prefix-size=5 %s -c -### 2>&1 | FileCheck %s --check-prefix=PREFIX
10// PREFIX: "-mllvm" "-x86-pad-max-prefix-size=5"
11
12// RUN: %clang -target x86_64 -mbranches-within-32B-boundaries %s -c -### 2>&1 | FileCheck %s --check-prefix=32B
13// 32B: "-mllvm" "-x86-branches-within-32B-boundaries"
14