commit | cab076f44ce5b2f6adbd38a56d39b85c8164f904 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Wed May 25 17:27:54 2016 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Wed May 25 17:27:54 2016 +0000 |
tree | f57d41e292b02c14cbc224009a0aedcca048c1a8 | |
parent | c863690403a659d6321a64dedec7cd5d4f893d0b [diff] |
[x86] avoid code explosion from LoopVectorizer for gather loop (PR27826) By making pointer extraction from a vector more expensive in the cost model, we avoid the vectorization of a loop that is very likely to be memory-bound: https://llvm.org/bugs/show_bug.cgi?id=27826 There are still bugs related to this, so we may need a more general solution to avoid vectorizing obviously memory-bound loops when we don't have HW gather support. Differential Revision: http://reviews.llvm.org/D20601 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270729 91177308-0d34-0410-b5e6-96231b3b80d8