[all-commits] [llvm/llvm-project] 882e5f: [flang][hlfir] Fixed passing c_ptr arguments by va...
Slava Zakharin via All-commits
all-commits at lists.llvm.org
Thu Apr 27 11:54:54 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 882e5f7bb7a4c7dd926abcf68eddb97d795c4241
https://github.com/llvm/llvm-project/commit/882e5f7bb7a4c7dd926abcf68eddb97d795c4241
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M flang/lib/Lower/ConvertCall.cpp
A flang/test/HLFIR/c_ptr_byvalue.f90
Log Message:
-----------
[flang][hlfir] Fixed passing c_ptr arguments by value.
c_ptr arguments passed by value need special handling, which was missing
in HLFIR lowering. The lowering has to load the __address component
and pass the loaded value as the actual argument.
Differential Revision: https://reviews.llvm.org/D149307
More information about the All-commits
mailing list