[all-commits] [llvm/llvm-project] 78ccff: [flang] Add MALLOC and FREE intrinsics for Cray po...
David Truby via All-commits
all-commits at lists.llvm.org
Mon Sep 30 14:40:37 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 78ccffc05336201c90e2c0bb2ae929ea3a6eec2b
https://github.com/llvm/llvm-project/commit/78ccffc05336201c90e2c0bb2ae929ea3a6eec2b
Author: David Truby <david.truby at arm.com>
Date: 2024-09-30 (Mon, 30 Sep 2024)
Changed paths:
M flang/docs/Intrinsics.md
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/include/flang/Optimizer/Builder/Runtime/Intrinsics.h
M flang/include/flang/Runtime/extensions.h
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Intrinsics.cpp
M flang/lib/Semantics/check-call.cpp
M flang/runtime/extensions.cpp
A flang/test/Lower/Intrinsics/free.f90
A flang/test/Lower/Intrinsics/malloc.f90
A flang/test/Semantics/free.f90
Log Message:
-----------
[flang] Add MALLOC and FREE intrinsics for Cray pointers (#110018)
MALLOC and FREE are extensions provided by gfortran, Intel Fortran and
classic flang to allocate memory for Cray pointers. These are used in
some legacy codes such as libexodus.
All the above compilers accept using MALLOC and FREE with integers as
well, despite that this will often signify a bug in user code. We should
accept the same as the other compilers for compatibility.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list