Skip to content
Commit ff2912a0 authored by Jean Perier's avatar Jean Perier
Browse files

[flang][hlfir] place scalar in memory in convertToBox/convertToAddress



Implement the TODO. Be careful to use and propagate the expression
type to create the temporary since the mlir value may have been computed
with a different value type (e.g., i1 for logical) that should not be
used for in memory values that must have Fortran types.

Co-authored-by: default avatarTom Eccles <tom.eccles@arm.com>

Differential Revision: https://reviews.llvm.org/D143421
parent ab9c4e9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment