[all-commits] [llvm/llvm-project] ddd948: [MVE] Don't distribute add of vecreduce if it has ...

john-brawn-arm via All-commits all-commits at lists.llvm.org
Mon Jul 11 06:13:44 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddd9485129b53a1ca53ebe06f59dd3c7fe2dc333
      https://github.com/llvm/llvm-project/commit/ddd9485129b53a1ca53ebe06f59dd3c7fe2dc333
  Author: John Brawn <john.brawn at arm.com>
  Date:   2022-07-11 (Mon, 11 Jul 2022)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    A llvm/test/CodeGen/Thumb2/mve-vecreduce-add-combine.ll

  Log Message:
  -----------
  [MVE] Don't distribute add of vecreduce if it has more than one use

If the add has more than one use then applying the transformation
won't cause it to be removed, so we can end up applying it again
causing an infinite loop.

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




More information about the All-commits mailing list