HomePhabricator

[LegalizeTypes] Add ROTL/ROTR to ScalarizeVectorResult.

Authored by foad on Aug 26 2020, 1:41 AM.

Description

[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

Details