This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Remove modifiers from v_div_scale_*
ClosedPublic

Authored by arsenm on Jan 12 2017, 5:26 PM.

Details

Summary

They seem to produce nonsense results when used.

This should be applied to the release branch.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 84201.Jan 12 2017, 5:26 PM
arsenm retitled this revision from to AMDGPU: Remove modifiers from v_div_scale_*.
arsenm updated this object.
arsenm added a subscriber: llvm-commits.
arsenm added inline comments.Jan 13 2017, 8:52 AM
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
729–731

I've fixed the commented out code and formatted the array better

arsenm updated this revision to Diff 84572.Jan 16 2017, 9:36 AM
arsenm edited edge metadata.

Fix dead code

kzhuravl accepted this revision.Jan 18 2017, 9:38 PM

LGTM.

This revision is now accepted and ready to land.Jan 18 2017, 9:38 PM
arsenm closed this revision.Jan 23 2017, 3:29 PM

r292472