[PATCH] D114174: [ARM][CodeGen] Add support for complex addition and multiplication

Nicholas Guy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 21 05:55:20 PDT 2022


NickGuy updated this revision to Diff 438664.
NickGuy marked 2 inline comments as done.
NickGuy added a comment.

Since the last patch, I've redesigned the high-level approach; It now crawls through the instruction graph to find opportunities for complex deinterleaving before attempting to perform said deinterleaving. Doing it this way allows us to short-circuit, bailing out and preventing the heavy work from being performed if something isn't supported.
This iteration also implements support for complex operations with multiple steps/operands (e.g. a[i] * b[i] * c[i])


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114174/new/

https://reviews.llvm.org/D114174

Files:
  llvm/include/llvm/CodeGen/ComplexDeinterleavingPass.h
  llvm/include/llvm/CodeGen/Passes.h
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/include/llvm/InitializePasses.h
  llvm/lib/CodeGen/CMakeLists.txt
  llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMISelLowering.h
  llvm/lib/Target/ARM/ARMTargetMachine.cpp
  llvm/test/CodeGen/ARM/ComplexArithmetic/complex-arithmetic-f16-add.ll
  llvm/test/CodeGen/ARM/ComplexArithmetic/complex-arithmetic-f16-mul.ll
  llvm/test/CodeGen/ARM/ComplexArithmetic/complex-arithmetic-f32-add.ll
  llvm/test/CodeGen/ARM/ComplexArithmetic/complex-arithmetic-f32-mul.ll
  llvm/test/CodeGen/ARM/ComplexArithmetic/complex-arithmetic-f64-add.ll
  llvm/test/CodeGen/ARM/ComplexArithmetic/complex-arithmetic-f64-mul.ll
  llvm/test/CodeGen/ARM/O3-pipeline.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114174.438664.patch
Type: text/x-patch
Size: 118965 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220621/10876b8b/attachment.bin>


More information about the llvm-commits mailing list