[all-commits] [llvm/llvm-project] 04d9e8: [VPlan] Don't expand SCEVs without uses to VPInstr...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Jun 2 15:57:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04d9e8687b3836af1eede7df15ecc43ac5c1f67d
      https://github.com/llvm/llvm-project/commit/04d9e8687b3836af1eede7df15ecc43ac5c1f67d
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

  Log Message:
  -----------
  [VPlan] Don't expand SCEVs without uses to VPInstructions (NFC). (#201221)

If a VPExpandSCEVRecipe does not have users, there's no benefit to
expand it to VPInstructions, which then have to get cleaned up.

This also prevents DCE from removing VPInstructions pointed to by
TripCount after expansion.



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