[all-commits] [llvm/llvm-project] 580121: [ConstraintElim] Check loop pred & invariance befo...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Jul 13 15:10:04 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5801213a1baaa750dd2c0152ca0e5288d447d908
      https://github.com/llvm/llvm-project/commit/5801213a1baaa750dd2c0152ca0e5288d447d908
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp

  Log Message:
  -----------
  [ConstraintElim] Check loop pred & invariance before SCEV query (NFC) (#209314)

Move cheap checks (check for loop predecessor and invariance) before
more expensive SCEV queries.

This slightly reduces the number we need to unnecessarily construct SCEV
expressions.



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