[PATCH] D96250: [CostModel] An extending load to illegal type is not free.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 11 02:20:05 PST 2021


dmgreen added a comment.

Ah I see. I guess it should be working on the maximum of the two type legalization costs, and the same number of vector lanes for each type? But that looks like a larger change throughout getCastInstrCost.

I think this splitting the same number of times still makes sense as a heuristic.


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

https://reviews.llvm.org/D96250



More information about the llvm-commits mailing list