diff options
| author | Alexey Bataev <a.bataev@outlook.com> | 2025-10-20 15:48:36 -0700 |
|---|---|---|
| committer | Alexey Bataev <a.bataev@outlook.com> | 2025-10-21 06:39:49 -0700 |
| commit | 20675ee67d048a42482c246e25b284637d55347c (patch) | |
| tree | ae3380361fa2a0a6c960d2622cb16547adda4107 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
| parent | 7aa6c62bdba16731443dc0540f2addc58610a1a1 (diff) | |
| download | llvm-20675ee67d048a42482c246e25b284637d55347c.zip llvm-20675ee67d048a42482c246e25b284637d55347c.tar.gz llvm-20675ee67d048a42482c246e25b284637d55347c.tar.bz2 | |
[SLP] Check all copyable children for non-schedulable parent nodes
If the parent node is non-schedulable and it includes several copies of
the same instruction, its operand might be replaced by the copyable
nodes in multiple children nodes, and if the instruction is commutative,
they can be used in different operands. The compiler shall consider this
opportunity, taking into account that non-copyable children are
scheduled only ones for the same parent instruction.
Fixes #164242
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions
