commit | 40be0055aeade298b85832480bb646520a80df88 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Tue Jun 26 16:20:16 2018 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Tue Jun 26 16:20:16 2018 +0000 |
tree | e7cfe7669b6fd5a87ac93b767dba305165c0ce64 | |
parent | 0c1dedd8edcb72a43186dc467f1d0fd9b3d75b25 [diff] |
[SLPVectorizer] Recognise non uniform power of 2 constants Since D46637 we are better at handling uniform/non-uniform constant Pow2 detection; this patch tweaks the SLP argument handling to support them. As SLP works with arrays of values I don't think we can easily use the pattern match helpers here. Differential Revision: https://reviews.llvm.org/D48214 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335621 91177308-0d34-0410-b5e6-96231b3b80d8