diff options
author | Nikita Popov <npopov@redhat.com> | 2023-06-21 17:04:41 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-06-22 17:04:56 +0200 |
commit | 81ec494c363d4934e692e8b35e0b3fbbc3de1c2b (patch) | |
tree | 3154f706f250b1b74483a0ef7113fd24698d26e8 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | d179421099314431a91b85c01977ba0086ffd6db (diff) | |
download | llvm-81ec494c363d4934e692e8b35e0b3fbbc3de1c2b.zip llvm-81ec494c363d4934e692e8b35e0b3fbbc3de1c2b.tar.gz llvm-81ec494c363d4934e692e8b35e0b3fbbc3de1c2b.tar.bz2 |
[SDAGBuilder] Handle multi-part arguments in argument copy elision (PR63430)
When eliding an argument copy, we need to update the chain to ensure
the argument reads are performed before later writes. However, the
code doing this only handled this for the first part of the argument.
If the argument had multiple parts, the chains of the later parts were
dropped. Make sure we preserve all chains.
Fixes https://github.com/llvm/llvm-project/issues/63430.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions