[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / x86-no-gather-no-scatter.cpp
blob63611227bd58392b3e8a4e7f260f8116013e4ad5
1 /// Tests -mno-gather and -mno-scatter
2 // RUN: %clang -target x86_64-unknown-linux-gnu -c -mno-gather -### %s 2>&1 | FileCheck --check-prefix=NOGATHER %s
3 // RUN: %clang_cl --target=x86_64-windows -c /Qgather- -### -- %s 2>&1 | FileCheck --check-prefix=NOGATHER %s
4 // NOGATHER: "-target-feature" "+prefer-no-gather"
6 // RUN: %clang -target x86_64-unknown-linux-gnu -c -mno-scatter -### %s 2>&1 | FileCheck --check-prefix=NOSCATTER %s
7 // RUN: %clang_cl --target=x86_64-windows -c /Qscatter- -### -- %s 2>&1 | FileCheck --check-prefix=NOSCATTER %s
8 // NOSCATTER: "-target-feature" "+prefer-no-scatter"