We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7aded3 commit 27f5d35Copy full SHA for 27f5d35
clang/test/CodeGen/opt-record-1.c
@@ -1,12 +1,12 @@
1
-// RUN: %clang_cc1 %s -opt-record-file=t1.opt -fopenmp -emit-llvm-bc -o %t.bc
2
-// RUN: %clang_cc1 -x ir %t.bc -opt-record-file %t.opt -fopenmp -emit-obj
+// 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
+// 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
5
void foo(int *a, int *b, int *c) {
6
#pragma omp parallel for
7
- for (int i = 0; i < 100; i++) {
8
- a[i] = b[i] + c[i];
9
- }
+ for (int i = 0; i < 100; i++) {
+ a[i] = b[i] + c[i];
+ }
10
}
11
12
// CHECK: --- !Missed
0 commit comments