[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
      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
1c4fedfa35aeb8b456e2d8f4f826c0e026b9d863
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