[LoopVectorizer] Add support for chaining partial reductions (#120272)
[llvm-project.git] / clang / test / Driver / fuse-lipo.c
blob2dedb86ddc527aeb4f53f95f9797c24e0a530efc
1 // RUN: %clang %s -### --target=arm64-apple-darwin -arch x86_64 -arch arm64 -fuse-lipo=llvm-lipo 2>&1 | FileCheck -check-prefix=TEST1 %s
2 // TEST1: llvm-lipo
4 // RUN: %clang %s -### --target=arm64-apple-darwin -arch x86_64 -arch arm64 -fuse-lipo=nonexistant-lipo 2>&1 | FileCheck -check-prefix=TEST2 %s
5 // TEST2: nonexistant-lipo
7 // RUN: %clang %s -### --target=arm64-apple-darwin -fuse-lipo=llvm-lipo 2>&1 | FileCheck -check-prefix=TEST3 %s
8 // TEST3: clang: warning: argument unused during compilation: '-fuse-lipo=llvm-lipo'
10 // RUN: %clang %s -### --target=arm64-apple-darwin -Wno-unused-command-line-argument -fuse-lipo=llvm-lipo 2>&1 | FileCheck -check-prefix=TEST4 %s
11 // TEST4-NOT: llvm-lipo
13 // RUN: %clang %s -### --target=arm64-apple-darwin -arch x86_64 -arch arm64 2>&1 | FileCheck -check-prefix=TEST5 %s
14 // TEST5: lipo
15 // TEST5-NOT: llvm-lipo