[all-commits] [llvm/llvm-project] 774fc6: [LV] Consider minimum vscale assmuption for RT che...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Jul 5 01:42:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 774fc63490939c1afdc02f20ec48467991d3c548
      https://github.com/llvm/llvm-project/commit/774fc63490939c1afdc02f20ec48467991d3c548
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-07-05 (Tue, 05 Jul 2022)

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

  Log Message:
  -----------
  [LV] Consider minimum vscale assmuption for RT check cost.

For scalable VFs, the minimum assumed vscale needs to be included in the
cost-computation, otherwise a smaller VF may be used for RT check cost
computation than was used for earlier cost computations.

Fixes a RISCV test failing with UBSan due to both scalar and vector
loops having the same cost.




More information about the All-commits mailing list