From 3a7c0dbc629e1fd0c68a2d1c486f679e4bef3a4d Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sun, 6 Jan 2019 07:06:35 +0000 Subject: [PATCH] [LegalizeVectorOps] Add FSHL/FSHR to the list of vector operations that should be handled. The FSHL/FSHR nodes are handled in the expand function, but they need to also be listed in the code that queries for the operation action too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350490 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp index 4df02c6a6bc..753158dc2c3 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp @@ -351,6 +351,8 @@ SDValue VectorLegalizer::LegalizeOp(SDValue Op) { case ISD::SHL: case ISD::SRA: case ISD::SRL: + case ISD::FSHL: + case ISD::FSHR: case ISD::ROTL: case ISD::ROTR: case ISD::BSWAP: -- 2.11.0