[Mlir-commits] [flang] [llvm] [mlir] [Flang] [OpenMP] [MLIR] Add lowering support for OMP ALLOCATE directives and its clauses (PR #187167)
Raghu Maddhipatla
llvmlistbot at llvm.org
Fri Apr 10 16:01:25 PDT 2026
================
@@ -7619,6 +7619,24 @@ CallInst *OpenMPIRBuilder::createOMPAlloc(const LocationDescription &Loc,
return createRuntimeFunctionCall(Fn, Args, Name);
}
+CallInst *OpenMPIRBuilder::createOMPAlignedAlloc(const LocationDescription &Loc,
+ Value *Align, Value *Size,
+ Value *Allocator,
+ std::string Name) {
+ IRBuilder<>::InsertPointGuard IPG(Builder);
+ updateToLocation(Loc);
----------------
raghavendhra wrote:
Done!
https://github.com/llvm/llvm-project/pull/187167
More information about the Mlir-commits
mailing list