[PATCH] D75981: [LV] Allow large RT checks, if they are a fraction of the scalar cost.

Evgeniy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 31 20:42:04 PDT 2021


ebrevnov added a comment.

I don't really understand why we need this separate heuristic for runtime checks. Why don't we simply add cost of runtime checks (possibly with some small scaling to be safe) to total cost of vector loop and just use existing cost model to decide?

Please add regression tests from https://reviews.llvm.org/D71053 to this change set as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75981



More information about the llvm-commits mailing list