[all-commits] [llvm/llvm-project] e6238a: [flang] Deallocate WHERE masks after all assignments
jeanPerier via All-commits
all-commits at lists.llvm.org
Tue Sep 20 01:42:04 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e6238ab52590a4f31bc8c6e806c7947e9ef04b57
https://github.com/llvm/llvm-project/commit/e6238ab52590a4f31bc8c6e806c7947e9ef04b57
Author: Jean Perier <jperier at nvidia.com>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M flang/lib/Lower/Bridge.cpp
A flang/test/Lower/where-allocatable-assignments.f90
Log Message:
-----------
[flang] Deallocate WHERE masks after all assignments
Allocatable assignments were triggering lowering to clean-up
any WHERE mask temporaries, even if some assignments where left
in the WHERE construct.
This is because allocatable assignments lowering was being passed the
wrong statement context. Fix this by selecting the where/forall statement
context instead of a local one when there is one.
Differential Revision: https://reviews.llvm.org/D134197
More information about the All-commits
mailing list