[all-commits] [llvm/llvm-project] 0ef8a7: [LoopVectorize] Add non-zero check for MaxPowerOf2...

david-arm via All-commits all-commits at lists.llvm.org
Wed Mar 29 03:09:01 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ef8a79b12f6edf5faa698e444b1dcc561634252
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2023-03-29 (Wed, 29 Mar 2023)

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

  Log Message:
  [LoopVectorize] Add non-zero check for MaxPowerOf2RuntimeVF in computeMaxVF

This one-line patch just tightens up the code added in
where we try to avoid tail-folding if we know the runtime
VF will always be a multiple of the trip count.

More information about the All-commits mailing list