[all-commits] [llvm/llvm-project] 23a1c0: [instcombine] Test for zero initialisation optimis...

Zain Jaffal via All-commits all-commits at lists.llvm.org
Wed Aug 24 07:54:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23a1c0a7790a4a8df9c9b01eae00a6fea08e1a42
      https://github.com/llvm/llvm-project/commit/23a1c0a7790a4a8df9c9b01eae00a6fea08e1a42
  Author: Zain Jaffal <z_jaffal at apple.com>
  Date:   2022-08-24 (Wed, 24 Aug 2022)

  Changed paths:
    R llvm/test/Transforms/InstCombine/remove-loop-phi-fastmul.ll
    A llvm/test/Transforms/InstCombine/remove-loop-phi-multiply-by-zero.ll

  Log Message:
  -----------
  [instcombine] Test for zero initialisation optimisation of integer product

Following the work on `D131672` we do the same optimisations for integer products.
We add tests to check if a loop gets removed if we repeatdly multiply an array elements with an accumulator initalised to zero

Reviewed By: fhahn

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




More information about the All-commits mailing list