HomePhabricator

[RISCV] Custom lower SHL_PARTS, SRA_PARTS, SRL_PARTS

Authored by luismarques on Apr 16 2019, 7:38 AM.

Description

[RISCV] Custom lower SHL_PARTS, SRA_PARTS, SRL_PARTS

When not optimizing for minimum size (-Oz) we custom lower wide shifts
(SHL_PARTS, SRA_PARTS, SRL_PARTS) instead of expanding to a libcall.

Differential Revision: https://reviews.llvm.org/D59477

llvm-svn: 358498