| commit | b39894345c47ef688d06653153d9333c81b18f88 | [log] [tgz] |
|---|---|---|
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Wed Apr 20 20:14:09 2016 +0000 |
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Wed Apr 20 20:14:09 2016 +0000 |
| tree | 9c1259de5c657d1e5c2b950e26ab980e0d6d9695 | |
| parent | 7c73f3f39c49d56ab970c29f0b8db219fbb83cc7 [diff] |
IR: Use SmallVector instead of std::vector of TrackingMDRef Don't use std::vector<TrackingMDRef>, since (at least in some versions of libc++) std::vector apparently copies values on grow operations instead of moving them. Found this when I was temporarily deleting the copy constructor for TrackingMDRef to investigate a performance bottleneck. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266909 91177308-0d34-0410-b5e6-96231b3b80d8