[all-commits] [llvm/llvm-project] d8af31: [LV] Add missed optimization fold-tail test

Gil Rapaport via All-commits all-commits at lists.llvm.org
Sat Jan 2 04:06:04 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d8af31006351c9f441d73d4b6c5ea6d109f3d4f1
      https://github.com/llvm/llvm-project/commit/d8af31006351c9f441d73d4b6c5ea6d109f3d4f1
  Author: Gil Rapaport <gil.rapaport at intel.com>
  Date:   2021-01-02 (Sat, 02 Jan 2021)

  Changed paths:
    A llvm/test/Transforms/LoopVectorize/dont-fold-tail-for-assumed-divisible-TC.ll

  Log Message:
  -----------
  [LV] Add missed optimization fold-tail test

The loop vectorizer avoids folding the tail for loop's whose trip-count is
known to SCEV to be divisible by VF. In this case the assumption providing this
information is not taken into account, so the tail is needlessly folded.




More information about the All-commits mailing list