Skip to content

Commit 27f5d35

Browse files
committed
Fix for build bot failure. For more details see:
https://reviews.llvm.org/D70691 Upated LIT test.
1 parent d7aded3 commit 27f5d35

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

clang/test/CodeGen/opt-record-1.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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
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
33
// RUN: cat %t.opt | FileCheck -check-prefix=CHECK %s
44

55
void foo(int *a, int *b, int *c) {
66
#pragma omp parallel for
7-
for (int i = 0; i < 100; i++) {
8-
a[i] = b[i] + c[i];
9-
}
7+
for (int i = 0; i < 100; i++) {
8+
a[i] = b[i] + c[i];
9+
}
1010
}
1111

1212
// CHECK: --- !Missed

0 commit comments

Comments
 (0)