[PATCH] D146988: [CodeGen] Enable processing of interconnected complex number operations
Igor Kirillov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 27 10:18:35 PDT 2023
igor.kirillov created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
igor.kirillov requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D146988
Files:
llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp
llvm/test/CodeGen/AArch64/complex-deinterleaving-multiuses.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146988.508726.patch
Type: text/x-patch
Size: 17623 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230327/571a09ae/attachment.bin>
More information about the llvm-commits
mailing list