[PATCH] D20474: when calculating RegUsages, ignore instructions which are uniformed after vectorization
Wei Mi via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 6 21:27:30 PDT 2016
wmi updated this revision to Diff 63026.
wmi added a comment.
Herald added a subscriber: nemanjai.
Extract the major part of collectLoopUniforms into a helper func getDependentClosure so it can be reused by collectValuesToIgnore. For collectLoopUniforms, only loop compare and consecutive ptrs of load/store will be the seed uniform instructions in the WorkList.
For collectValuesToIgnore, loop compare, consecutive ptrs, non-gather/scatter and non-consecutive ptrs will be the seed non-vector instructions in the Worklist.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 17399 bytes
Desc: not available
More information about the llvm-commits