This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fold shift into cvt_f32_ubyteN
ClosedPublic

Authored by arsenm on Apr 15 2016, 7:19 AM.

Details

Reviewers
tstellarAMD

Diff Detail

Event Timeline

arsenm updated this revision to Diff 53880.Apr 15 2016, 7:19 AM
arsenm retitled this revision from to AMDGPU: Fold shift into cvt_f32_ubyteN .
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
lib/Target/AMDGPU/SIISelLowering.cpp
2678–2681

The comment doesn't match the if statement. Which is correct?

arsenm added inline comments.Apr 15 2016, 7:59 AM
lib/Target/AMDGPU/SIISelLowering.cpp
2678–2681

Should should be SRLs

tstellarAMD accepted this revision.Apr 15 2016, 8:03 AM
tstellarAMD edited edge metadata.

With the comment fix, LGTM.

This revision is now accepted and ready to land.Apr 15 2016, 8:03 AM
arsenm closed this revision.May 9 2016, 9:36 AM

r268930