[all-commits] [llvm/llvm-project] 5b0cb2: [LSR] Preserve LCSSA in critical edge splitting

Aiden Grossman via All-commits all-commits at lists.llvm.org
Mon Jun 22 13:09:13 PDT 2026


  Branch: refs/heads/users/boomanaiden154/scev-preserve-lcssa-when-reusing-dominating-variable
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b0cb22661a9a256fee7af77a79960d435ce8582
      https://github.com/llvm/llvm-project/commit/5b0cb22661a9a256fee7af77a79960d435ce8582
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-06-22 (Mon, 22 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    M llvm/test/Transforms/LoopStrengthReduce/X86/lcssa-preservation-regression.ll
    M llvm/test/Transforms/LoopStrengthReduce/preserve-lcssa.ll

  Log Message:
  -----------
  [LSR] Preserve LCSSA in critical edge splitting

This was another case where LSR failed to preserve LCSSA, which will
trigger an assertion under the NewPM. This is currently only enabled
under the NewPM to avoid pessimizing any optimizations while unblocking
work on the NewPM.

Reviewers: fhahn, vikramRH, nikic, arsenm

Pull Request: https://github.com/llvm/llvm-project/pull/192371


  Commit: 9a6cd24126b75ce6188f99af2a1e441dd6f44a12
      https://github.com/llvm/llvm-project/commit/9a6cd24126b75ce6188f99af2a1e441dd6f44a12
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-06-22 (Mon, 22 Jun 2026)

  Changed paths:

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]


  Commit: 9eabf7e757ec1db5c3c9084088507ac9d29d8778
      https://github.com/llvm/llvm-project/commit/9eabf7e757ec1db5c3c9084088507ac9d29d8778
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-06-22 (Mon, 22 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp

  Log Message:
  -----------
  fix

Created using spr 1.3.7


Compare: https://github.com/llvm/llvm-project/compare/7c8507c550bd...9eabf7e757ec

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