[all-commits] [llvm/llvm-project] ba9016: [LV] Replace redundant tail-fold check with assert...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Dec 29 10:02:56 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba9016a0304630cbf36c7838a3916d03fc8396c6
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-12-29 (Wed, 29 Dec 2021)

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

  Log Message:
  [LV] Replace redundant tail-fold check with assert (NFC).

The code path can only be reached when folding the tail, so turn the
check into an assertion.

More information about the All-commits mailing list