[all-commits] [llvm/llvm-project] e2cb07: [CodeGen] Fix incorrect insertion point selection ...

Igor Kirillov via All-commits all-commits at lists.llvm.org
Thu Aug 31 03:38:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2cb07c322e85604dc48f9caec52b3570db0e1d8
      https://github.com/llvm/llvm-project/commit/e2cb07c322e85604dc48f9caec52b3570db0e1d8
  Author: Igor Kirillov <igor.kirillov at arm.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

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

  Log Message:
  -----------
  [CodeGen] Fix incorrect insertion point selection for reduction nodes in ComplexDeinterleavingPass

When replacing ComplexDeinterleavingPass::ReductionOperation, we can do it
either from the Real or Imaginary part. The correct way is to take whichever
is later in the BasicBlock, but before the patch, we just always took the
Real part.

Fixes https://github.com/llvm/llvm-project/issues/65044

Differential Revision: https://reviews.llvm.org/D159209




More information about the All-commits mailing list