This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Remove redundant patterns for shifts
ClosedPublic

Authored by arsenm on May 2 2019, 4:14 AM.

Diff Detail

Event Timeline

arsenm created this revision.May 2 2019, 4:14 AM
rampitec added inline comments.May 2 2019, 11:52 AM
lib/Target/AMDGPU/VOP2Instructions.td
522

Did you find out why added complexity was used?

arsenm marked an inline comment as done.May 2 2019, 12:19 PM
arsenm added inline comments.
lib/Target/AMDGPU/VOP2Instructions.td
522

I assume this was to give priority to these over the _e32 ones for some reason. Nothing broke when I removed either set

arsenm accepted this revision.May 3 2019, 8:07 AM

Extra prechecks passed

This revision is now accepted and ready to land.May 3 2019, 8:07 AM
arsenm closed this revision.May 3 2019, 8:07 AM
rampitec added inline comments.May 7 2019, 3:42 PM
lib/Target/AMDGPU/VOP2Instructions.td
537

This is error, brace should not include adde/sube.