aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
diff options
context:
space:
mode:
authorSergio Afonso <safonsof@amd.com>2024-04-17 11:28:30 +0100
committerGitHub <noreply@github.com>2024-04-17 11:28:30 +0100
commit3eb0ba34b0a2a29c2f34ead2b84fdf9b62cb29c1 (patch)
tree45c52a055c2ff250198b5547281ca0f915d182ee /llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
parentf4737a2edd900df661750116821806bb45e4086a (diff)
downloadllvm-3eb0ba34b0a2a29c2f34ead2b84fdf9b62cb29c1.zip
llvm-3eb0ba34b0a2a29c2f34ead2b84fdf9b62cb29c1.tar.gz
llvm-3eb0ba34b0a2a29c2f34ead2b84fdf9b62cb29c1.tar.bz2
[MLIR][Flang][OpenMP] Make omp.simdloop into a loop wrapper (#87365)
This patch updates the definition of `omp.simdloop` to enforce the restrictions of a wrapper operation. It has been renamed to `omp.simd`, to better reflect the naming used in the spec. All uses of "simdloop" in function names have been updated accordingly. Some changes to Flang lowering and OpenMP to LLVM IR translation are introduced to prevent the introduction of compilation/test failures. The eventual long term solution might be different.
Diffstat (limited to 'llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp')
-rw-r--r--llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp b/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
index db1c4a8..8344bca 100644
--- a/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+++ b/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
@@ -2097,7 +2097,7 @@ TEST_F(OpenMPIRBuilderTest, ApplySimdlenSafelen) {
}));
}
-TEST_F(OpenMPIRBuilderTest, ApplySimdLoopIf) {
+TEST_F(OpenMPIRBuilderTest, ApplySimdIf) {
OpenMPIRBuilder OMPBuilder(*M);
IRBuilder<> Builder(BB);
MapVector<Value *, Value *> AlignedVars;