[PATCH] D86601: [LegalizeTypes] Add ROTL/ROTR to ScalarizeVectorResult.
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 26 06:43:31 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG75d159f92486: [LegalizeTypes] Add ROTL/ROTR to ScalarizeVectorResult. (authored by foad).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86601/new/
https://reviews.llvm.org/D86601
Files:
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
Index: llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
===================================================================
--- llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
@@ -146,6 +146,8 @@
case ISD::SHL:
case ISD::SRA:
case ISD::SRL:
+ case ISD::ROTL:
+ case ISD::ROTR:
R = ScalarizeVecRes_BinOp(N);
break;
case ISD::FMA:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86601.287960.patch
Type: text/x-patch
Size: 422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200826/8f78abcb/attachment.bin>
More information about the llvm-commits
mailing list