This change is refactoring of the SMRD load divergence predicate function.
No additional tests needed. Existing smrd and uniformity tests behave as before.
CodeGen/AMDGPU lit tests passed.
Differential D51931
[AMDGPU] Load divergence predicate refactoring alex-t on Sep 11 2018, 7:20 AM. Authored by
Details
This change is refactoring of the SMRD load divergence predicate function. CodeGen/AMDGPU lit tests passed.
Diff Detail Event Timeline
Comment Actions *Please* don't forget to subscribe the appropriate -commits list, and set the appropriate repository! |
The name is misleading. A uniform load is just !N->isDivergent(). What you have here is a check if load is actually scalarizable.