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.
Paths
| Differential D16744
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 This allows operations with some workitem intrinsics with known
Diff Detail Event Timelinearsenm updated this object. This revision is now accepted and ready to land.Feb 8 2016, 8:33 AM
Revision Contents
Diff 46458 lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
test/CodeGen/AArch64/lower-range-metadata-func-call.ll
test/CodeGen/AMDGPU/lower-range-metadata-intrinsic-call.ll
|