[all-commits] [llvm/llvm-project] 82c93b: [SCEV] Simplify SCEVExpr for PHI to SCEV for opera...

Akshay Deodhar via All-commits all-commits at lists.llvm.org
Fri Dec 6 01:57:08 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82c93b6f19bf9db75ac6e4100b9f1b4f2a7df67f
      https://github.com/llvm/llvm-project/commit/82c93b6f19bf9db75ac6e4100b9f1b4f2a7df67f
  Author: Akshay Deodhar <adeodhar at nvidia.com>
  Date:   2024-12-06 (Fri, 06 Dec 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/lib/Analysis/ScalarEvolution.cpp
    A llvm/test/Analysis/ScalarEvolution/trip-count-phi-increment.ll

  Log Message:
  -----------
  [SCEV] Simplify SCEVExpr for PHI to SCEV for operand if operands are identical (#115945)

Helps SCEV analyze some special phi nodes, allowing the computation of
loop trip count in cases like the following:

https://godbolt.org/z/xGs1d81TW



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