HomePhabricator

[GlobalISel][AArch64] Combine and (lshr x, cst), mask -> ubfx x, cst, width

Authored by paquette on Mar 24 2021, 10:52 AM.

Description

[GlobalISel][AArch64] Combine and (lshr x, cst), mask -> ubfx x, cst, width

Also add a target hook which allows us to get around custom legalization on
AArch64.

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

Details

Committed
paquetteTue, Jun 1, 10:56 AM
Differential Revision
D99283: [GlobalISel] Combine and (lshr x, cst), mask -> ubfx x, cst, width
Parents
rG95cb06d234c6: [libc++] Temporary hack to unbreak CI
Branches
Unknown
Tags
Unknown