diff options
author | Wei Mi <wmi@google.com> | 2016-07-18 20:59:53 +0000 |
---|---|---|
committer | Wei Mi <wmi@google.com> | 2016-07-18 20:59:53 +0000 |
commit | 1fd25726afcec5de0143022f6a742ff33a6bd080 (patch) | |
tree | 3f1d2a6c908fc4abd5d061044559d8f55bd80bd9 /clang/lib/CodeGen/CoverageMappingGen.cpp | |
parent | 5f5eb58eb5c19620d669608c25a505f0f45d35d7 (diff) | |
download | bcm5719-llvm-1fd25726afcec5de0143022f6a742ff33a6bd080.tar.gz bcm5719-llvm-1fd25726afcec5de0143022f6a742ff33a6bd080.zip |
Use uniforms set to populate VecValuesToIgnore.
For instructions in uniform set, they will not have vector versions so
add them to VecValuesToIgnore.
For induction vars, those only used in uniform instructions or consecutive
ptrs instructions have already been added to VecValuesToIgnore above. For
those induction vars which are only used in uniform instructions or
non-consecutive/non-gather scatter ptr instructions, the related phi and
update will also be added into VecValuesToIgnore set.
The change will make the vector RegUsages estimation less conservative.
Differential Revision: https://reviews.llvm.org/D20474
llvm-svn: 275912
Diffstat (limited to 'clang/lib/CodeGen/CoverageMappingGen.cpp')
0 files changed, 0 insertions, 0 deletions