[PATCH] D71053: [LV] Take overhead of run-time checks into account during vectorization.

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 02:39:40 PST 2019


rengolin added a comment.

Is this change inspired by a real world case? If so, how relevant / pervasive is this case?

Also, how different are the run time checks from each other?

If we assume most of them end up being an additional comparison, sometimes with pointer dereference, and assuming the values will be already in registers (as they're about to be looped over), I think their costs end up being roughly the same, no?

Or am I missing something obvious?

Thanks!
--renato


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71053/new/

https://reviews.llvm.org/D71053





More information about the llvm-commits mailing list