[all-commits] [llvm/llvm-project] f937b1: [LV] Don't query SCEV for non-invariant values in ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Mar 2 02:56:33 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f937b17e8570082d4710b6dca7a91b5c235c1c70
      https://github.com/llvm/llvm-project/commit/f937b17e8570082d4710b6dca7a91b5c235c1c70
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-03-02 (Sun, 02 Mar 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/X86/cost-model.ll

  Log Message:
  -----------
  [LV] Don't query SCEV for non-invariant values in cost model.

This fixes a divergence between VPlan and legacy cost model, matching
behavior further up in getInstructionCost as well.

Fixes https://github.com/llvm/llvm-project/issues/129236.



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