forked from OSchip/llvm-project
[LegalizeTypes] Add ROTL/ROTR to ScalarizeVectorResult.
We can scalarize these just like any other binary operation. Fixes https://bugs.llvm.org/show_bug.cgi?id=47303 caused by D77152. Differential Revision: https://reviews.llvm.org/D86601
This commit is contained in:
parent
a7da7e421c
commit
75d159f924
|
@ -146,6 +146,8 @@ void DAGTypeLegalizer::ScalarizeVectorResult(SDNode *N, unsigned ResNo) {
|
|||
case ISD::SHL:
|
||||
case ISD::SRA:
|
||||
case ISD::SRL:
|
||||
case ISD::ROTL:
|
||||
case ISD::ROTR:
|
||||
R = ScalarizeVecRes_BinOp(N);
|
||||
break;
|
||||
case ISD::FMA:
|
||||
|
|
Loading…
Reference in New Issue