[all-commits] [llvm/llvm-project] 6813b4: [LV] Avoid creating new run-time VF expression for...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Jul 16 09:24:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6813b41d57ec224e8fc58713cb0d665029caf0b5
      https://github.com/llvm/llvm-project/commit/6813b41d57ec224e8fc58713cb0d665029caf0b5
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-07-16 (Sat, 16 Jul 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-runtime-check-size-based-threshold.ll

  Log Message:
  -----------
  [LV] Avoid creating new run-time VF expression for each runtime checks.

At the moment, the cost of runtime checks for scalable vectors is
overestimated due to creating separate vscale * VF expressions for each
check. Instead re-use the first expression.




More information about the All-commits mailing list