aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineSink.cpp
diff options
context:
space:
mode:
authorJean Perier <jperier@nvidia.com>2023-04-17 07:47:35 +0200
committerJean Perier <jperier@nvidia.com>2023-04-17 07:47:53 +0200
commite779d54d2137c918572f4a70bf5c9341500fab6b (patch)
tree3a1ffc4d1ff1887602ad416adf49070c7aff81cd /llvm/lib/CodeGen/MachineSink.cpp
parent88ac7414d50b52b202a547e04a9f8bac4c797fa3 (diff)
downloadllvm-e779d54d2137c918572f4a70bf5c9341500fab6b.zip
llvm-e779d54d2137c918572f4a70bf5c9341500fab6b.tar.gz
llvm-e779d54d2137c918572f4a70bf5c9341500fab6b.tar.bz2
[flang][hlfir] Preserve hlfir.assign in the bufferize-hlfir pass
hlfir.assign must be rewritten in the bufferize pass since its operands, that can be expressions, may have been updated. This is just an operand update rewrite. The previous code was replacing the operation, but it was dropping all hlfir.assign on the floor doing so. This broke allocatable assignment semantics that use attributes. Update the operands in place instead to preserve the attributes, if any. Differential Revision: https://reviews.llvm.org/D148310
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions