[ELF] Avoid make in elf::writeARMCmseImportLib
[llvm-project.git] / clang / test / CodeGen / opt-record-1.c
blobbe8364769e322fa9d92491ed6954d9167bc0d9d4
1 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -target-cpu x86-64 %s -O3 -opt-record-file=t1.opt -fopenmp -emit-llvm-bc -o %t.bc
2 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -target-cpu x86-64 -O3 -x ir %t.bc -opt-record-file %t.opt -fopenmp -emit-obj
3 // RUN: cat %t.opt | FileCheck -check-prefix=CHECK %s
4 // REQUIRES: x86-registered-target
6 void foo(int *a, int *b, int *c) {
7 #pragma omp parallel for
8 for (int i = 0; i < 100; i++) {
9 a[i] = b[i] + c[i];
13 // CHECK: --- !Missed
14 // CHECK: Pass: inline
15 // CHECK: Name: NoDefinition
16 // CHECK: Function: foo