[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
Loading
Please sign in to comment