[PATCH] D143422: [LV] Don't consider vector types for loop invariants when calculating register usage

Sushant Gokhale via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 23:28:03 PST 2023


sushgokh added a comment.

One thing I missed out is a check if the invariant is taking part in vector ops. If its indeed taking part in vector ops, we will need vector registers for it. But, if it doesnt, then scalar registers should be sufficient.

I need to rework on this patch


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

https://reviews.llvm.org/D143422



More information about the llvm-commits mailing list