MLIR version attribute should be lowered to LLVM IR module metadata.
The lowering is done by OpenMPIRBuilder.
Paths
| Differential D150574
[MLIR][OpenMP][OMPIRBuilder] Lower OpenMP version attributes to LLVM IR ClosedPublic Authored by domada on May 15 2023, 7:32 AM.
Details Summary MLIR version attribute should be lowered to LLVM IR module metadata. The lowering is done by OpenMPIRBuilder.
Diff Detail
Event TimelineHerald added subscribers: jplehr, sstefan1, stephenneuendorffer, nicolasvasilache. · View Herald Transcript This revision is now accepted and ready to land.May 16 2023, 11:04 PM Comment Actions OpenMP standard mentions that if implementation of OpenMP supports preprocessor then macro _OPENMP is defined to have value yyyymm, where yyyy denotes the year and mm denotes the month of OpenMP version release. (OpenMP standard 5.2 section 3.3). This revision was landed with ongoing or failed builds.May 19 2023, 4:50 AM Closed by commit rGbed7e00cb15c: [MLIR][OpenMP][OMPIRBuilder] Lower OpenMP version attributes to LLVM IR (authored by domada). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 523733 mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
mlir/test/Target/LLVMIR/openmp-llvm.mlir
|