[PATCH] D109368: [LV] Don't vectorize if we can prove RT + vector cost >= scalar cost.

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 27 00:59:39 PDT 2021


nikic added a comment.

Can you please provide an analysis of the code size impact this has? LLVM is already quite bad at unrolling/vectorizing too aggressively for non-benchmark code (which does not have hot loops) and I'm somewhat concerned this will make the situation even worse. Please do keep in mind that code size has important performance effects on icache and itlb misses, and just jumping over the code doesn't make that cost disappear.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109368



More information about the llvm-commits mailing list