[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / matrix.c
blob4d2624ad39c16e4bbb41ea27504b4bfc0be7d317
1 // RUN: touch %t.o
2 // RUN: %clang -flto=thin -fenable-matrix %t.o -### --target=powerpc64-ibm-aix-xcoff 2>&1 \
3 // RUN: | FileCheck %s -check-prefix=CHECK-THINLTO-MATRIX-AIX
4 // CHECK-THINLTO-MATRIX-AIX: "-bplugin_opt:-enable-matrix"
6 // RUN: %clang -flto=thin -fenable-matrix %t.o -### --target=x86_64-unknown-linux 2>&1 \
7 // RUN: | FileCheck %s -check-prefix=CHECK-THINLTO-MATRIX
8 // CHECK-THINLTO-MATRIX: "-plugin-opt=-enable-matrix"
10 // RUN: %clang -flto -ffat-lto-objects -fenable-matrix %t.o -### --target=x86_64-unknown-linux 2>&1 \
11 // RUN: | FileCheck %s -check-prefix=CHECK-THINLTO-MATRIX
13 // RUN: %clang -flto=thin -ffat-lto-objects -fenable-matrix %t.o -### --target=x86_64-unknown-linux 2>&1 \
14 // RUN: | FileCheck %s -check-prefix=CHECK-THINLTO-MATRIX
16 // RUN: %clang -flto -funified-lto -fenable-matrix %t.o -### --target=x86_64-unknown-linux 2>&1 \
17 // RUN: | FileCheck %s -check-prefix=CHECK-THINLTO-MATRIX
19 // RUN: %clang -flto=thin -funified-lto -fenable-matrix %t.o -### --target=x86_64-unknown-linux 2>&1 \
20 // RUN: | FileCheck %s -check-prefix=CHECK-THINLTO-MATRIX