[all-commits] [llvm/llvm-project] 2ad717: [LSR] Insert the transformed IV increment in the u...

John Brawn via All-commits all-commits at lists.llvm.org
Tue Dec 2 09:15:21 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ad71745cd2b6a266b4bd08e6a82a14e393ee915
      https://github.com/llvm/llvm-project/commit/2ad71745cd2b6a266b4bd08e6a82a14e393ee915
  Author: John Brawn <john.brawn at arm.com>
  Date:   2025-12-02 (Tue, 02 Dec 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    M llvm/test/CodeGen/Thumb2/mve-blockplacement.ll
    M llvm/test/Transforms/LoopStrengthReduce/AArch64/prefer-all.ll

  Log Message:
  -----------
  [LSR] Insert the transformed IV increment in the user block (#169515)

Currently we try to hoist the transformed IV increment instruction to
the header block to help with generation of postincrement instructions,
but this only works if the user instruction is also in the header. We
should instead be trying to insert it in the same block as the user.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list