commit | 6315a65a2160ee7f970eb38d9e18c72e44b8c225 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Wed May 04 15:01:13 2016 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Wed May 04 15:01:13 2016 +0000 |
tree | cbdaff25da26244be49442d855a6a83ce0c3f930 | |
parent | 4d64cfeeeac7239a57d73afcfdd4604f114ab628 [diff] |
[SelectionDAG] BITREVERSE vector legalization of bit operations Vector bit operations are typically promoted instead of having custom lowering. This patch changes the isOperationLegalOrCustom tests for vector AND/OR operations to use isOperationLegalOrPromote instead, allowing the SSE implementations to stay on the simd unit. Differential Revision: http://reviews.llvm.org/D19805 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268504 91177308-0d34-0410-b5e6-96231b3b80d8