[all-commits] [llvm/llvm-project] 712920: [LoopVectorize] Move checking for OptForSize into ...

John Brawn via All-commits all-commits at lists.llvm.org
Tue Mar 11 07:58:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7129205816ca8c7929ab0b44168830ce54287dd3
      https://github.com/llvm/llvm-project/commit/7129205816ca8c7929ab0b44168830ce54287dd3
  Author: John Brawn <john.brawn at arm.com>
  Date:   2025-03-11 (Tue, 11 Mar 2025)

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

  Log Message:
  -----------
  [LoopVectorize] Move checking for OptForSize into the cost model (NFC) (#130752)

Move OptForSizeBasedOnProfile into the cost model and rename it to
OptForSize, as shouldOptimizeForSize checks both the function attribute
and profile. This being done in preparation for OptForSize being used in
the cost model.



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