aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorPeixin Qiao <qiaopeixin@huawei.com>2022-10-17 23:27:17 +0800
committerPeixin Qiao <qiaopeixin@huawei.com>2022-10-17 23:27:17 +0800
commit205b47401ed6517cc34e473838e1d307715cc9a4 (patch)
tree50c912c007393ed80e23585809ff8abf076a35a6 /llvm/lib/CodeGen/MachineFunction.cpp
parent9f1f1b924f420f0bbbe605b27346d89177c8129a (diff)
downloadllvm-205b47401ed6517cc34e473838e1d307715cc9a4.zip
llvm-205b47401ed6517cc34e473838e1d307715cc9a4.tar.gz
llvm-205b47401ed6517cc34e473838e1d307715cc9a4.tar.bz2
[flang] Fix the trivial type passed as value with bind(C)
In the callee side, the value cannot be used directly. For example, the dummy argument is lhs variable or the dummy argument is passed to another procedure as actual argument. Fix this by allocating one temporary storage and store the value. Then map the symbol of dummy argument to the `mlir::Value` of the temporary. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D136009
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions