diff options
author | Nicholas Guy <nicholas.guy@arm.com> | 2025-01-09 08:31:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-09 08:31:57 +0000 |
commit | 1b2943534fa20a61c07592a9bd90203e682ae0f4 (patch) | |
tree | f8f0af0c9925fa9636d981a39ab756d6e54f08ae /llvm/lib/Transforms/Utils/Local.cpp | |
parent | 4847395c5459f9c476808f9337abdae7fbd78a23 (diff) | |
download | llvm-1b2943534fa20a61c07592a9bd90203e682ae0f4.zip llvm-1b2943534fa20a61c07592a9bd90203e682ae0f4.tar.gz llvm-1b2943534fa20a61c07592a9bd90203e682ae0f4.tar.bz2 |
[llvm] Fix crash caused by reprocessing complex reductions (#122077)
If a complex pattern had the shape of both a complex->complex reduction
and a complex->single reduction, the matching would recognise both and
deem the graph a valid transformation. Preventing this reprocessing
results in only one of these matching, meaning that in the case of an
invalid graph, we don't try to transform it anyway.
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions