HomePhabricator

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

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

Details

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