[all-commits] [llvm/llvm-project] 1b2943: [llvm] Fix crash caused by reprocessing complex re...

Nicholas Guy via All-commits all-commits at lists.llvm.org
Thu Jan 9 00:32:19 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b2943534fa20a61c07592a9bd90203e682ae0f4
      https://github.com/llvm/llvm-project/commit/1b2943534fa20a61c07592a9bd90203e682ae0f4
  Author: Nicholas Guy <nicholas.guy at arm.com>
  Date:   2025-01-09 (Thu, 09 Jan 2025)

  Changed paths:
    M llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp
    A llvm/test/CodeGen/AArch64/complex-deinterleaving-opt-crash.ll

  Log Message:
  -----------
  [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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list