[Openmp-commits] [openmp] Add OpenMP test file for AI review (PR #149987)
via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jul 22 03:51:26 PDT 2025
https://github.com/Shruti05-MS updated https://github.com/llvm/llvm-project/pull/149987
>From c9b469ae4b9a9c1c2c3d0f1411eeb4d5ba1403de Mon Sep 17 00:00:00 2001
From: Shruti05-MS <shruti.m.sinha05 at gmail.com>
Date: Tue, 22 Jul 2025 15:12:36 +0530
Subject: [PATCH 1/5] Create test.c
---
openmp/test.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 openmp/test.c
diff --git a/openmp/test.c b/openmp/test.c
new file mode 100644
index 0000000000000..51b7330748985
--- /dev/null
+++ b/openmp/test.c
@@ -0,0 +1,12 @@
+#include <omp.h>
+#include <stdio.h>
+
+int main() {
+ int x = 0;
+ #pragma omp parallel for
+ for (int i = 0; i < 10; i++) {
+ x += i;
+ }
+ printf("x = %d\n", x);
+ return 0;
+}
>From 395c5eb101cab0700ec7830f1a17ba2badc1e0df Mon Sep 17 00:00:00 2001
From: Shruti05-MS <shruti.m.sinha05 at gmail.com>
Date: Tue, 22 Jul 2025 15:42:31 +0530
Subject: [PATCH 2/5] Update test.c
---
openmp/test.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/openmp/test.c b/openmp/test.c
index 51b7330748985..023f16912a4a4 100644
--- a/openmp/test.c
+++ b/openmp/test.c
@@ -10,3 +10,5 @@ int main() {
printf("x = %d\n", x);
return 0;
}
+// Updated to trigger bot
+
>From b4faa6d4e4a83be26f7951ebd684e27d3e72bd52 Mon Sep 17 00:00:00 2001
From: Shruti05-MS <shruti.m.sinha05 at gmail.com>
Date: Tue, 22 Jul 2025 16:03:27 +0530
Subject: [PATCH 3/5] Update test.c
---
openmp/test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/openmp/test.c b/openmp/test.c
index 023f16912a4a4..64a495e6cecd3 100644
--- a/openmp/test.c
+++ b/openmp/test.c
@@ -10,5 +10,5 @@ int main() {
printf("x = %d\n", x);
return 0;
}
-// Updated to trigger bot
+// trigger to bot
>From 98a2e1fad5685dd9623f73e9bfa1f8236dfe18eb Mon Sep 17 00:00:00 2001
From: Shruti05-MS <shruti.m.sinha05 at gmail.com>
Date: Tue, 22 Jul 2025 16:09:13 +0530
Subject: [PATCH 4/5] Update test.c
>From 1d9e0ae1cdd75886e61b2c77ea4084bb696c9e6e Mon Sep 17 00:00:00 2001
From: Shruti05-MS <shruti.m.sinha05 at gmail.com>
Date: Tue, 22 Jul 2025 16:14:08 +0530
Subject: [PATCH 5/5] Update test.c
---
openmp/test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/openmp/test.c b/openmp/test.c
index 64a495e6cecd3..1e8e6b865bfab 100644
--- a/openmp/test.c
+++ b/openmp/test.c
@@ -10,5 +10,5 @@ int main() {
printf("x = %d\n", x);
return 0;
}
-// trigger to bot
+// re-triggering the AI bot
More information about the Openmp-commits
mailing list