[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / Driver / x86-malign-branch.s
blob049fabad72573151c4db649ccf4ce84534ce52e7
1 /// Test that -malign-branch* and -mbranches-within-32B-boundaries are handled for assembly files.
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"
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"
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"
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"