[all-commits] [llvm/llvm-project] 90cf10: [flang][hlfir] Lower NULL(MOLD) to a variable
jeanPerier via All-commits
all-commits at lists.llvm.org
Tue Apr 25 00:03:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 90cf1014243b2edec249cab7a0bfde1e8c0fdf1c
https://github.com/llvm/llvm-project/commit/90cf1014243b2edec249cab7a0bfde1e8c0fdf1c
Author: Jean Perier <jperier at nvidia.com>
Date: 2023-04-25 (Tue, 25 Apr 2023)
Changed paths:
M flang/lib/Lower/ConvertCall.cpp
A flang/test/Lower/HLFIR/null.f90
Log Message:
-----------
[flang][hlfir] Lower NULL(MOLD) to a variable
HLFIR lowering promotes intrinsic results lowered in memory to
hlfir.expr to underline their read-only aspect once they are created.
NULL(MOLD) should not be promoted to an hlfir.expr, it is the NULL
variable (we need to see it as an address).
Reviewed By: clementval
Differential Revision: https://reviews.llvm.org/D149053
More information about the All-commits
mailing list