mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[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
ef1ac54803
commit
9284abf90d
@ -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
Block a user