Skip to content

Commit 1b60f63

Browse files
committed
Revert "[OpenMP] Replace OpenMP RTL Functions With OMPIRBuilder and OMPKinds.def"
Failing tests on Arm due to the tests automatically populating incomatible pointer width architectures. Reverting until the tests are updated. Failing tests: OpenMP/distribute_parallel_for_num_threads_codegen.cpp OpenMP/distribute_parallel_for_if_codegen.cpp OpenMP/distribute_parallel_for_simd_if_codegen.cpp OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp OpenMP/target_teams_distribute_parallel_for_if_codegen.cpp OpenMP/target_teams_distribute_parallel_for_simd_if_codegen.cpp OpenMP/teams_distribute_parallel_for_if_codegen.cpp OpenMP/teams_distribute_parallel_for_simd_if_codegen.cpp This reverts commit 90eaedd.
1 parent 81921eb commit 1b60f63

File tree

6 files changed

+687
-319
lines changed

6 files changed

+687
-319
lines changed

clang/lib/CodeGen/CGOpenMPRuntime.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,9 +306,6 @@ class CGOpenMPRuntime {
306306
CodeGenModule &CGM;
307307
StringRef FirstSeparator, Separator;
308308

309-
/// An OpenMP-IR-Builder instance.
310-
llvm::OpenMPIRBuilder OMPBuilder;
311-
312309
/// Constructor allowing to redefine the name separator for the variables.
313310
explicit CGOpenMPRuntime(CodeGenModule &CGM, StringRef FirstSeparator,
314311
StringRef Separator);
@@ -389,6 +386,8 @@ class CGOpenMPRuntime {
389386
llvm::Value *getCriticalRegionLock(StringRef CriticalName);
390387

391388
private:
389+
/// An OpenMP-IR-Builder instance.
390+
llvm::OpenMPIRBuilder OMPBuilder;
392391

393392
/// Map for SourceLocation and OpenMP runtime library debug locations.
394393
typedef llvm::DenseMap<unsigned, llvm::Value *> OpenMPDebugLocMapTy;

0 commit comments

Comments
 (0)