HomePhabricator

[AArch64][GlobalISel] Enable extending loads combines post-legalization.

Authored by aemerson on May 22 2020, 2:21 PM.

Description

[AArch64][GlobalISel] Enable extending loads combines post-legalization.

During legalization we can end up with extends of loads, which in the case of
zexts causes us to not hit tablegen imported patterns.

The caveat here is that we don't want anyext load forming, since some variants
are illegal. This change also prevents the combine from creating any illegal
loads.

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

Details

Committed
aemersonMay 28 2020, 10:48 PM
Differential Revision
D80458: [AArch64][GlobalISel] Enable extending loads combines post-legalization.
Parents
rG3ea38b5b4e6b: [gn build] Port a6deaeec370
Branches
Unknown
Tags
Unknown