[all-commits] [llvm/llvm-project] a87112: [flang][hlfir] optimize hlfir.eval_in_mem bufferiz...
jeanPerier via All-commits
all-commits at lists.llvm.org
Tue Dec 3 01:00:05 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a871124f8709f6b5e837c6044ce7df056f52292a
https://github.com/llvm/llvm-project/commit/a871124f8709f6b5e837c6044ce7df056f52292a
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-12-03 (Tue, 03 Dec 2024)
Changed paths:
M flang/include/flang/Optimizer/Analysis/AliasAnalysis.h
M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
A flang/test/HLFIR/opt-bufferization-eval_in_mem.fir
Log Message:
-----------
[flang][hlfir] optimize hlfir.eval_in_mem bufferization (#118069)
This patch extends the optimize bufferization to deal with the new
hlfir.eval_in_mem and move the evaluation contained in its body to
operate directly over the LHS when it can prove there are no access to
the LHS inside the region (and that the LHS is contiguous).
This will allow the array function call optimization when lowering is
changed to produce an hlfir.eval_in_mem in the next patch.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list