1 // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
2 // Check that the non-clang/non-filechecked runlines execute
3 // RUN: cp %s %S/../Output/execute-all-runlines.copy.c
4 // RUN: cp %S/../Output/execute-all-runlines.copy.c %s.copy.c
5 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fopenmp %s.copy.c -emit-llvm-bc -o %t-host.bc
6 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fopenmp -fopenmp-host-ir-file-path %t-host.bc %s.copy.c -emit-llvm -o - | FileCheck %s --check-prefix=CHECK1
7 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-pch %s -o %t
8 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -include-pch %t %s.copy.c -emit-llvm -o - | FileCheck %s --check-prefix=CHECK2
9 // RUN: %clang_cc1 -triple powerpc64le-unknown-linux-gnu -emit-pch %s -o %t
10 // RUN: %clang_cc1 -triple powerpc64le-unknown-linux-gnu -include-pch %t %s.copy.c -emit-llvm -o - | FileCheck %s --check-prefix=CHECK3
18 // CHECK1-LABEL: @test(
19 // CHECK1-NEXT: entry:
20 // CHECK1-NEXT: [[A_ADDR:%.*]] = alloca i32, align 4
21 // CHECK1-NEXT: store i32 [[A:%.*]], ptr [[A_ADDR]], align 4
22 // CHECK1-NEXT: ret void
24 // CHECK2-LABEL: @test(
25 // CHECK2-NEXT: entry:
26 // CHECK2-NEXT: [[A_ADDR:%.*]] = alloca i32, align 4
27 // CHECK2-NEXT: store i32 [[A:%.*]], ptr [[A_ADDR]], align 4
28 // CHECK2-NEXT: ret void
30 // CHECK3-LABEL: @test(
31 // CHECK3-NEXT: entry:
32 // CHECK3-NEXT: [[A_ADDR:%.*]] = alloca i32, align 4
33 // CHECK3-NEXT: store i32 [[A:%.*]], ptr [[A_ADDR]], align 4
34 // CHECK3-NEXT: ret void