[llvm] r350490 - [LegalizeVectorOps] Add FSHL/FSHR to the list of vector operations that should be handled.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 5 23:06:35 PST 2019
Author: ctopper
Date: Sat Jan 5 23:06:35 2019
New Revision: 350490
URL: http://llvm.org/viewvc/llvm-project?rev=350490&view=rev
Log:
[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.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp?rev=350490&r1=350489&r2=350490&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp Sat Jan 5 23:06:35 2019
@@ -351,6 +351,8 @@ SDValue VectorLegalizer::LegalizeOp(SDVa
case ISD::SHL:
case ISD::SRA:
case ISD::SRL:
+ case ISD::FSHL:
+ case ISD::FSHR:
case ISD::ROTL:
case ISD::ROTR:
case ISD::BSWAP:
More information about the llvm-commits
mailing list