summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2018-07-19 22:29:47 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2018-07-19 22:29:47 +0000
commit6acb8cee05f3917f0539f3451caee3c0ab66a4bf (patch)
treed9b387553c8e16a2502ada42842856f99d1bdb33 /llvm/lib/CodeGen
parent0c432b1a70d29e60c3428198dd6dba9ebcc91851 (diff)
downloadbcm5719-llvm-6acb8cee05f3917f0539f3451caee3c0ab66a4bf.tar.gz
bcm5719-llvm-6acb8cee05f3917f0539f3451caee3c0ab66a4bf.zip
ADT: Shrink size of SmallVector by 8B on 64-bit platforms
Representing size and capacity directly as unsigned and calculate `end()` using `begin() + size()`. This limits the maximum size/capacity of a vector to UINT32_MAX. https://reviews.llvm.org/D48518 llvm-svn: 337504
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud