diff options
| author | Matthias Braun <matze@braunis.de> | 2017-06-27 18:05:26 +0000 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2017-06-27 18:05:26 +0000 |
| commit | a6e77405d0932b699d2321f5930370c5d4fa591d (patch) | |
| tree | 99e0fede7f0f6db0ad3919f64496624165e228fc /llvm/include | |
| parent | 7227276d4144da8310496286b314fe33f1cfa51d (diff) | |
| download | bcm5719-llvm-a6e77405d0932b699d2321f5930370c5d4fa591d.tar.gz bcm5719-llvm-a6e77405d0932b699d2321f5930370c5d4fa591d.zip | |
LiveRangeCalc: Slightly improve map usage; NFC
- DenseMap should be faster than std::map
- Use the `InsertRes = insert() if (!InsertRes.inserted)` pattern rather
than the `if (!X.contains(...)) { X.insert(...); }` to save one map
lookup.
llvm-svn: 306436
Diffstat (limited to 'llvm/include')
0 files changed, 0 insertions, 0 deletions

