[all-commits] [llvm/llvm-project] c692e8: [CodeGen] Enable processing of interconnected comp...

Igor Kirillov via All-commits all-commits at lists.llvm.org
Tue Apr 18 06:06:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c692e87ab8e7d3c7d8e2365572ffb41f6ec9ac1d
      https://github.com/llvm/llvm-project/commit/c692e87ab8e7d3c7d8e2365572ffb41f6ec9ac1d
  Author: Igor Kirillov <igor.kirillov at arm.com>
  Date:   2023-04-18 (Tue, 18 Apr 2023)

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

  Log Message:
  -----------
  [CodeGen] Enable processing of interconnected complex number operations

With this patch, ComplexDeinterleavingPass now has the ability to handle
any number of interconnected operations involving complex numbers.
For example, the patch enables the processing of code like the following:

for (int i = 0; i < 1000; ++i) {
    a[i] =  w[i] * v[i];
    b[i] =  w[i] * u[i];
}

This code has multiple arrays containing complex numbers and a common
subexpression `w` that appears in two expressions.

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




More information about the All-commits mailing list