llvm-project
3e62321e - [LoopVectorize] Make collectInLoopReductions more efficient (#126769)

Commit
304 days ago
[LoopVectorize] Make collectInLoopReductions more efficient (#126769) We call collectInLoopReductions in multiple places asking the same question with exactly the same answer. For example, this was being called from a loop in calculateRegisterUsage and this patch hoists the call out to above the loop. In addition I've changed collectInLoopReductions so that it bails out if we've already built up a list.
Author
Parents
Loading