This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Turn int pack pattern into build_vector
ClosedPublic

Authored by arsenm on Aug 23 2017, 11:03 PM.

Details

Reviewers
rampitec
Summary

build_vector is a more useful canonical form when
pattern matching packed operations, so turn shift
into high element into a build_vector.

Should show no change for now.

Diff Detail

Event Timeline

arsenm created this revision.Aug 23 2017, 11:03 PM
rampitec edited edge metadata.Aug 29 2017, 12:27 PM

Test is needed.

Test is needed.

There's no visible change with this. Without it some of the tests added in D37222 and subsequent patches fail

This revision is now accepted and ready to land.Aug 30 2017, 3:34 PM
arsenm closed this revision.Aug 31 2017, 2:18 PM

r312282