Skip to content
Commit f571fe6d authored by Sander de Smalen's avatar Sander de Smalen
Browse files

Reland [LoopVectorizer] NFCI: Calculate register usage based on TLI.getTypeLegalizationCost.

This relands https://reviews.llvm.org/D91059 and reverts commit
30fded75.

GetRegUsage now returns 0 when Ty is not a valid vector element type.
parent f4517bbd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment