llvm-project
50d5d06d - [LoopVectorize][NFC] Cache the result of getVScaleForTuning (#124732)

Commit
320 days ago
[LoopVectorize][NFC] Cache the result of getVScaleForTuning (#124732) We currently call getVScaleForTuning in many places, doing a lot of work asking the same question with the same answer. I've refactored the code to cache the value if the max scalable VF != 0 and pull out the cached value from LoopVectorizationCostModel.
Author
Parents
Loading