diff options
author | Tobias Grosser <tobias@grosser.es> | 2015-11-23 10:18:23 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2015-11-23 10:18:23 +0000 |
commit | 5ef2bc316de136af68630cb20bd9e72e380c91cb (patch) | |
tree | 322bb6ac270aef132cbe85177dcb53ac7e6d014b | |
parent | 7048edb104791e575fe109b7d8868760bc052b91 (diff) | |
download | bcm5719-llvm-5ef2bc316de136af68630cb20bd9e72e380c91cb.tar.gz bcm5719-llvm-5ef2bc316de136af68630cb20bd9e72e380c91cb.zip |
Use SmallVector instead of std::vector
This was proposed as post-commit review comment for commit r253818.
Suggested by: Johannes Doerfert <doerfert@cs.uni-saarland.de>
llvm-svn: 253862
-rw-r--r-- | polly/lib/Analysis/ScopInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp index b78423f2edd..790c7f554f4 100644 --- a/polly/lib/Analysis/ScopInfo.cpp +++ b/polly/lib/Analysis/ScopInfo.cpp @@ -2018,7 +2018,7 @@ void Scop::removeErrorBlockDomains() { } }; - std::vector<Region *> Todo = {&R}; + SmallVector<Region *, 4> Todo = {&R}; while (!Todo.empty()) { auto SubRegion = Todo.back(); |