[polly] r253818 - ScopInfo: Remove domains of error blocks (and blocks they dominate) early on
Tobias Grosser via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 23 02:22:59 PST 2015
On 11/22/2015 05:26 PM, Johannes Doerfert wrote:
> On 11/22, Tobias Grosser via llvm-commits wrote:
>> Author: grosser
>> Date: Sun Nov 22 05:06:51 2015
>> New Revision: 253818
>> +
>> + std::vector<Region *> Todo = {&R};
> Why a std::vector?
I tend to use std::vector by default, for non-performance critical
code to indicate that this was not yet further tuned (especially that
the SmallVector constant was not thought about). I now replaced it with
a small vector of size four, which probably catches the most common
cases.
> I would have used a SmallVector just for consistency
> with the surrounding code.
r253862
Tobias
More information about the llvm-commits
mailing list