This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Fix shift legalization for non-power-of-2
ClosedPublic

Authored by arsenm on Jan 22 2019, 5:18 PM.

Details

Reviewers
tstellar
rampitec
Summary

clampScalar doesn't do anything for non-power-of-2 in range.
There should probably be a combination rule to reduce the number
of matching rules.

Diff Detail

Event Timeline

arsenm created this revision.Jan 22 2019, 5:18 PM
tstellar accepted this revision.Feb 8 2019, 6:48 AM

LGTM.

This revision is now accepted and ready to land.Feb 8 2019, 6:48 AM
arsenm closed this revision.Feb 8 2019, 7:06 AM

r353526