aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorJean Perier <jperier@nvidia.com>2023-05-23 17:00:15 +0200
committerJean Perier <jperier@nvidia.com>2023-05-23 17:00:31 +0200
commit9ac452b2864e2a4c5dbcba3c6c8ad66cb28476ec (patch)
tree455ea1466d96fa4eee2c351a65598f97f9378c0f /llvm/lib/IR/Module.cpp
parent74c2ec50f393bad8b31d0dd0bd8b2ff44d361198 (diff)
downloadllvm-9ac452b2864e2a4c5dbcba3c6c8ad66cb28476ec.zip
llvm-9ac452b2864e2a4c5dbcba3c6c8ad66cb28476ec.tar.gz
llvm-9ac452b2864e2a4c5dbcba3c6c8ad66cb28476ec.tar.bz2
[flang][NFC] Move Array constructor inlined temp management into a utility
This patch moves the counter and storage management part of the array constructor inlined temporary strategy into its own utility so that it can be reused for the simple cases of temporary creations inside WHERE and FORALL. It actually fixes a bug where the counter first value used for addressing was "2" leading to read/write after the allocated storage... It seems I ran the tests end-to-end without the HLFIR flag when previously testing this. So this may clear some segfaults. Differential Revision: https://reviews.llvm.org/D151106
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions