HomePhabricator

[AArch64] Add patterns for zext/sext of shift amount.

Authored by efriedma on Jan 21 2019, 4:21 PM.

Description

[AArch64] Add patterns for zext/sext of shift amount.

Not sure this is the best fix, but it saves an instruction for certain
constructs involving variable shifts.

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

llvm-svn: 351768

Details

Committed
efriedmaJan 21 2019, 4:21 PM
Differential Revision
D55572: [AArch64] Add patterns for zext/sext of shift amount.
Parents
rGfb67164ebcde: AMDGPU/GlobalISel: Legalize more fp<->int conversions
Branches
Unknown
Tags
Unknown