[all-commits] [llvm/llvm-project] 070d10: [LV] Restore metadata to disable runtime unrolling...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Jan 16 05:16:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 070d1034da87c94d86d1a61245ecf068141fdf14
      https://github.com/llvm/llvm-project/commit/070d1034da87c94d86d1a61245ecf068141fdf14
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-01-16 (Sun, 16 Jan 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/PowerPC/optimal-epilog-vectorization.ll
    M llvm/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll
    M llvm/test/Transforms/LoopVectorize/X86/masked_load_store.ll

  Log Message:
  -----------
  [LV] Restore metadata to disable runtime unrolling for epilogue loop.

After d4a8fc3a87a1 LV stopped adding metadata to disable runtime
unrolling to the vectorized epilogue loop. This was missed because
278aa65cc495 removed the relevant test coverage.

This patch fixes that by adding the relevant metadata after
vector loop generation.




More information about the All-commits mailing list