[PATCH] D114104: [FIR] Convert fir.allocmem and fir.freemem operations to calls to malloc and free, respectively

Kiran Chandramohan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 10 06:03:42 PST 2021


kiranchandramohan added a comment.

@AlexisPerry I will add the additional tests.



================
Comment at: flang/lib/Optimizer/CodeGen/CodeGen.cpp:41
 
 static mlir::Type getVoidPtrType(mlir::MLIRContext *context) {
   return mlir::LLVM::LLVMPointerType::get(mlir::IntegerType::get(context, 8));
----------------
@mehdi_amini Is "static inline" OK here, or is there any guidance that requires "static"?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114104/new/

https://reviews.llvm.org/D114104



More information about the llvm-commits mailing list