Revert r268504

llvm-svn: 268526
This commit is contained in:
Simon Pilgrim 2016-05-04 17:49:14 +00:00
parent 59f145598e
commit 93256d06c8
2 changed files with 11965 additions and 1519 deletions

View File

@ -894,8 +894,8 @@ SDValue VectorLegalizer::ExpandBITREVERSE(SDValue Op) {
// than unrolling and expanding each component.
if (!TLI.isOperationLegalOrCustom(ISD::SHL, VT) ||
!TLI.isOperationLegalOrCustom(ISD::SRL, VT) ||
!TLI.isOperationLegalOrPromote(ISD::AND, VT) ||
!TLI.isOperationLegalOrPromote(ISD::OR, VT))
!TLI.isOperationLegalOrCustom(ISD::AND, VT) ||
!TLI.isOperationLegalOrCustom(ISD::OR, VT))
return DAG.UnrollVectorOp(Op.getNode());
// Let LegalizeDAG handle this later.

File diff suppressed because it is too large Load Diff