Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 59e4b7b

Browse files
committed
Revert r268504
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268526 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 51b20e8 commit 59e4b7b

File tree

2 files changed

+12040
-1594
lines changed

2 files changed

+12040
-1594
lines changed

lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,8 +894,8 @@ SDValue VectorLegalizer::ExpandBITREVERSE(SDValue Op) {
894894
// than unrolling and expanding each component.
895895
if (!TLI.isOperationLegalOrCustom(ISD::SHL, VT) ||
896896
!TLI.isOperationLegalOrCustom(ISD::SRL, VT) ||
897-
!TLI.isOperationLegalOrPromote(ISD::AND, VT) ||
898-
!TLI.isOperationLegalOrPromote(ISD::OR, VT))
897+
!TLI.isOperationLegalOrCustom(ISD::AND, VT) ||
898+
!TLI.isOperationLegalOrCustom(ISD::OR, VT))
899899
return DAG.UnrollVectorOp(Op.getNode());
900900

901901
// Let LegalizeDAG handle this later.

0 commit comments

Comments
 (0)