[LegalizeTypes] Add ROTL/ROTR to ScalarizeVectorResult.
authorJay Foad <jay.foad@amd.com>
Wed, 26 Aug 2020 08:41:23 +0000 (09:41 +0100)
committerJay Foad <jay.foad@amd.com>
Wed, 26 Aug 2020 13:42:57 +0000 (14:42 +0100)
commit75d159f924868ec93e3008b04b637412b64de29e
tree904b8286611742a4cf6bd265cdd94911869517c0
parenta7da7e421c54e0053628f18f3750d4a8588cd627
[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
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp