aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2025-10-20 15:48:36 -0700
committerAlexey Bataev <a.bataev@outlook.com>2025-10-21 06:39:49 -0700
commit20675ee67d048a42482c246e25b284637d55347c (patch)
treeae3380361fa2a0a6c960d2622cb16547adda4107 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent7aa6c62bdba16731443dc0540f2addc58610a1a1 (diff)
downloadllvm-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