SuccessChanges

Summary

  1. [AArch64][GlobalISel] Enable extending loads combines post-legalization. (details)
Commit a0c90b5b2ad6a81e8aded5ad59cc25ff58464bcf by Amara Emerson
[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
The file was modifiedllvm/lib/Target/AArch64/AArch64PostLegalizerCombiner.cpp (diff)
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h (diff)
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/postlegalizercombiner-extending-loads.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64Combine.td (diff)
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp (diff)