diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2024-08-26 04:31:44 -0700 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2024-08-26 07:09:05 -0700 |
commit | b9d3da8c8d277a7fc2223c659122bb377a0e54e0 (patch) | |
tree | e2607c8b148599d492bba9d90d583056f3e2e83c /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 499e13514aaf2efdcd85520ade791ed635502adb (diff) | |
download | llvm-b9d3da8c8d277a7fc2223c659122bb377a0e54e0.zip llvm-b9d3da8c8d277a7fc2223c659122bb377a0e54e0.tar.gz llvm-b9d3da8c8d277a7fc2223c659122bb377a0e54e0.tar.bz2 |
[SLP]Fix PR105904: the root node might be a gather node without user for reductions.
Before checking the user components of the gather/buildvector nodes,
need to check if the node has users at all. Root nodes might not have
users, if it is a node for the reduction.
Fixes https://github.com/llvm/llvm-project/issues/105904
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions