diff options
| author | Craig Topper <craig.topper@intel.com> | 2019-03-05 19:18:16 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2019-03-05 19:18:16 +0000 |
| commit | 57fd733140f6b90f395aec654f8dc69cb0e2e233 (patch) | |
| tree | 20ac1d38fe1a4f440818f8a391386fceb35fd263 /llvm/lib/CodeGen | |
| parent | 7c03c58af62944cbc4f84142a066672d3b863673 (diff) | |
| download | bcm5719-llvm-57fd733140f6b90f395aec654f8dc69cb0e2e233.tar.gz bcm5719-llvm-57fd733140f6b90f395aec654f8dc69cb0e2e233.zip | |
Revert r355224 "[TableGen][SelectionDAG][X86] Add specific isel matchers for immAllZerosV/immAllOnesV. Remove bitcasts from X86 patterns that are no longer necessary."
This caused the first matcher in the isel table for many targets to Opc_Scope instead of Opc_SwitchOpcode. This leads to a significant increase in isel match failures.
llvm-svn: 355433
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 2b3a69779d3..ac21a181147 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -3393,12 +3393,6 @@ void SelectionDAGISel::SelectCodeCommon(SDNode *NodeToMatch, case OPC_CheckOrImm: if (!::CheckOrImm(MatcherTable, MatcherIndex, N, *this)) break; continue; - case OPC_CheckImmAllOnesV: - if (!ISD::isBuildVectorAllOnes(N.getNode())) break; - continue; - case OPC_CheckImmAllZerosV: - if (!ISD::isBuildVectorAllZeros(N.getNode())) break; - continue; case OPC_CheckFoldableChainNode: { assert(NodeStack.size() != 1 && "No parent node"); |

