[all-commits] [llvm/llvm-project] 6d905e: [SCEV] Use getConstantMultiple in to get divisibil...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Oct 9 02:51:58 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d905e41bc82f1a6ae88484a700099fbe26460b6
      https://github.com/llvm/llvm-project/commit/6d905e41bc82f1a6ae88484a700099fbe26460b6
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-10-09 (Thu, 09 Oct 2025)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Analysis/ScalarEvolution/trip-count-minmax.ll
    M llvm/test/Transforms/LoopVectorize/single_early_exit.ll

  Log Message:
  -----------
  [SCEV] Use getConstantMultiple in to get divisibility info from guards. (#162617)

Simplify and generalize the code to get a common constant multiple for
expressions when collecting guards, replacing the manual implementation.

Split off from https://github.com/llvm/llvm-project/pull/160012.

PR: https://github.com/llvm/llvm-project/pull/162617



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