From 57fc891c1b87585255b00d29f07f6b8b6f11643c Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sun, 6 Jan 2019 07:06:35 +0000 Subject: [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. llvm-svn: 350490 --- llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/CodeGen') diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp index 4df02c6a6bc..753158dc2c3 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp +++ b/llvm/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: -- cgit v1.2.3