commit | cd248aacbf298f8a909256d959ca5ca25c97aa4c | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Wed Apr 17 10:58:19 2019 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Wed Apr 17 10:58:19 2019 +0000 |
tree | 53928dd3b660b025920ff1c6663d8233fd1ee24d | |
parent | 3c5027808ad94567cd4f4cf29a9d0f50d2882e21 [diff] |
[CostModel][X86] Add bool anyof/allof reduction costs On pre-AVX512 targets we can use MOVMSK to extract reduced boolean results. This is properly optimized, annoyingly AVX512 isn't and produces code that is almost as bad as the (unchanged) costs suggest...... Differential Revision: https://reviews.llvm.org/D60403 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358574 91177308-0d34-0410-b5e6-96231b3b80d8