This is an archive of the discontinued LLVM Phabricator instance.

SelectionDAG: Lower some range metadata to AssertZext
ClosedPublic

Authored by arsenm on Jan 29 2016, 5:59 PM.

Details

Summary

If a range has a lower bound of 0, add an AssertZext from the
nearest floor power of two.

This allows operations with some workitem intrinsics with known
maximum ranges to use fast 24-bit multiplies.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 46458.Jan 29 2016, 5:59 PM
arsenm retitled this revision from to SelectionDAG: Lower some range metadata to AssertZext.
arsenm updated this object.
arsenm added a subscriber: llvm-commits.
arsenm accepted this revision.Feb 8 2016, 8:33 AM
arsenm added a reviewer: arsenm.

r260109

This revision is now accepted and ready to land.Feb 8 2016, 8:33 AM
arsenm closed this revision.Feb 8 2016, 8:33 AM