diff options
| author | Marco Elver <elver@google.com> | 2023-02-27 12:05:02 +0100 |
|---|---|---|
| committer | Marco Elver <elver@google.com> | 2023-02-27 12:16:14 +0100 |
| commit | 7f635b90e7bdf1378fd9a65fc62b99e8e07d4aaf (patch) | |
| tree | c9b141698028354027eef871404c42ae6703530e /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | d73da86812137312e559e2b01a88f16f1896968e (diff) | |
| download | llvm-7f635b90e7bdf1378fd9a65fc62b99e8e07d4aaf.zip llvm-7f635b90e7bdf1378fd9a65fc62b99e8e07d4aaf.tar.gz llvm-7f635b90e7bdf1378fd9a65fc62b99e8e07d4aaf.tar.bz2 | |
[SelectionDAG] Transitively copy NodeExtraInfo on RAUW
During legalization of the SelectionDAG, some nodes are replaced with
arch-specific nodes. These may be complex nodes, where the root node no
longer corresponds to the node that should carry the extra info.
Fix the issue by copying extra info to the new node and all its new
transitive operands during RAUW. See code comments for more details.
This fixes the remaining pcsections-atomics.ll tests on X86.
Reviewed By: dvyukov
Differential Revision: https://reviews.llvm.org/D144677
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
