commit | 1a0909c7b21b8a5f608bae82e663e369c9e263ff | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Wed Jul 18 13:53:55 2018 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Wed Jul 18 13:53:55 2018 +0000 |
tree | fb05a16100f443e67a329e4c3325b4f36184e099 | |
parent | 32e74a6f99f7187434eeb5ec49d0f822bed6acdc [diff] |
[SLPVectorizer] Avoid duplicate scalar cost calculations in BoUpSLP::getEntryCost. NFCI. Pulled out from D49225, we have a lot of repeated scalar cost calculations, often with arguments that don't look the same but turn out to be. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337390 91177308-0d34-0410-b5e6-96231b3b80d8