[all-commits] [llvm/llvm-project] 174534: [LoopVectorize] Preserve SCEV

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Apr 26 00:44:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1745341296495bf50203122cfcc3c4996871590c
      https://github.com/llvm/llvm-project/commit/1745341296495bf50203122cfcc3c4996871590c
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-04-26 (Wed, 26 Apr 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/novect-lcssa-cfg-invalidation.ll

  Log Message:
  -----------
  [LoopVectorize] Preserve SCEV

As far as I can tell, LoopVectorize preserves SCEV, mainly by dint
of forgetting the loop being vectorized. We should mark it as
preserved in the pass manager.

This is a very small compile-time improvement.

Differential Revision: https://reviews.llvm.org/D149147




More information about the All-commits mailing list