File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 4
4
// RUN: FileCheck --input-file=%t2.cir %s -check-prefix=CIR
5
5
// RUN: %clang -target x86_64-unknown-linux-gnu -fclangir -fclangir-direct-lowering -S -emit-llvm %s -o %t1.ll
6
6
// RUN: FileCheck --input-file=%t1.ll %s -check-prefix=LLVM
7
- // RUN %clang -target x86_64-unknown-linux-gnu -fclangir -fno-clangir-direct-lowering -S -emit-llvm %s -o %t2.ll
8
- // RUN FileCheck --input-file=%t2.ll %s -check-prefix=CIR_STD_LLVM
9
- // RUN: %clang -target x86_64-unknown-linux-gnu -fclangir -fclangir-direct-lowering -c -emit-llvm %s -o %t1.bc
7
+ // RUN: %clang -target x86_64-unknown-linux-gnu -fclangir -fno-clangir-direct-lowering -S -emit-llvm %s -o %t2.ll
8
+ // RUN: FileCheck --input-file=%t2.ll %s -check-prefix=CIR_STD_LLVM
9
+ // Test also the cases for both -fclangir-direct-lowering and -fno-clangir-direct-lowering,
10
+ // with -fno-clangir-direct-lowering having the preference
11
+ // RUN: %clang -target x86_64-unknown-linux-gnu -fclangir -fclangir-direct-lowering -fno-clangir-direct-lowering -S -emit-llvm %s -o %t2.ll
12
+ // RUN: FileCheck --input-file=%t2.ll %s -check-prefix=CIR_STD_LLVM
13
+ // RUN: %clang -target x86_64-unknown-linux-gnu -fclangir -fno-clangir-direct-lowering -fclangir-direct-lowering -c -emit-llvm %s -o %t1.bc
14
+ // RUN: FileCheck --input-file=%t2.ll %s -check-prefix=CIR_STD_LLVM
10
15
// RUN: llvm-dis %t1.bc -o %t1.bc.ll
11
16
// RUN: FileCheck --input-file=%t1.bc.ll %s -check-prefix=LLVM
12
17
// RUN: %clang -target x86_64-unknown-linux-gnu -fclangir -fno-clangir-direct-lowering -c -emit-llvm %s -o %t2.bc
You can’t perform that action at this time.
0 commit comments