This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel][AArch64] Add generic legalization rule for extends
ClosedPublic

Authored by paquette on Apr 18 2019, 2:08 PM.

Details

Summary

This adds a legalization rule for G_ZEXT, G_ANYEXT, and G_SEXT which allows extends whenever the types will fit in registers (or the source is an s1).

Update tests. Add GISel checks throughout all of arm64-vabs.ll, where we now select a good portion of the code. Add GISel checks to arm64-subvector-extend.ll, which has a good number of vector extends in it.

Diff Detail

Repository
rL LLVM

Event Timeline

paquette created this revision.Apr 18 2019, 2:08 PM
This revision was not accepted when it landed; it landed in state Needs Review.Apr 25 2019, 11:43 AM
This revision was automatically updated to reflect the committed changes.