[PATCH] D85283: [ARM][CostModel] Implement getCFInstrCost

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 05:05:47 PDT 2020


samparker added a comment.

> Do you mean it's the cost of a phi that is altering things?

I believe so, since I figure there's plenty more of them than branches and returns that would affect the vectorizer. I think register usages should still represent some cost, because they are important physical resources, but I suspect that the vectorizer is taking the scalar cost and multiplying it by the vector factor, even though we're likely to still only use a single register.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85283



More information about the llvm-commits mailing list