This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Stop assuming vreg for build_vector
ClosedPublic

Authored by arsenm on Oct 27 2015, 10:21 AM.

Details

Reviewers
tstellarAMD
Summary

This was causing a variety of test failures when v2i64
is added as a legal type.

SIFixSGPRCopies should correctly handle the case of vector inputs
to a scalar reg_sequence, so this isn't necessary anymore. This
was hiding some deficiencies in how reg_sequence is handled later,
but this shouldn't be a problem anymore since the register class
copy of a reg_sequence is now done before the reg_sequence.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 38557.Oct 27 2015, 10:21 AM
arsenm retitled this revision from to AMDGPU: Stop assuming vreg for build_vector.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Nov 2 2015, 2:26 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Nov 2 2015, 2:26 PM
arsenm closed this revision.Nov 2 2015, 3:34 PM

r251860