This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Improve v2i32/v2f32 insertelt patterns
ClosedPublic

Authored by rampitec on Aug 5 2021, 2:41 PM.

Details

Summary

Using REG_SEQUENCE produces better code than INSERT_SUBREG,
we can omit one move instruction in many cases.

Fixes: SWDEV-298028

Diff Detail

Event Timeline

rampitec created this revision.Aug 5 2021, 2:41 PM
rampitec requested review of this revision.Aug 5 2021, 2:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 5 2021, 2:41 PM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm accepted this revision.Aug 5 2021, 4:05 PM
This revision is now accepted and ready to land.Aug 5 2021, 4:05 PM
This revision was landed with ongoing or failed builds.Aug 5 2021, 4:14 PM
This revision was automatically updated to reflect the committed changes.