This is an archive of the discontinued LLVM Phabricator instance.

LegalizeDAG: Implement promote for extract_vector_elt
ClosedPublic

Authored by arsenm on Nov 2 2015, 11:03 AM.

Details

Reviewers
resistor
Summary

This is for AMDGPU to implement v2i64 extract as extract of half of a v4i32.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 38945.Nov 2 2015, 11:03 AM
arsenm retitled this revision from to LegalizeDAG: Implement promote for extract_vector_elt.
arsenm updated this object.
arsenm added a subscriber: llvm-commits.
resistor accepted this revision.Nov 10 2015, 10:18 AM
resistor added a reviewer: resistor.
resistor added a subscriber: resistor.

Patch looks LGTM. Is it possible to provide a test case, maybe for AMDGPU?

This revision is now accepted and ready to land.Nov 10 2015, 10:18 AM

Patch looks LGTM. Is it possible to provide a test case, maybe for AMDGPU?

This (and the other related patches) are already hit by existing tests when D14251 is applied

arsenm closed this revision.Nov 10 2015, 10:50 AM

r252630