Revert "ADT: SmallVector size/capacity use word-size integers when elements are small"
authorNikita Popov <nikita.ppv@gmail.com>
Sat, 18 Apr 2020 09:22:44 +0000 (11:22 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Sat, 18 Apr 2020 09:46:58 +0000 (11:46 +0200)
commitf005f6c2343438b3760f2d6b5f396f42050cbd4d
treecfc951c47e46f8c4b1672c25e5145c8b20ddb344
parent4ee45ab60f8639375296f8b7b96e2eb5e8a2c9d3
Revert "ADT: SmallVector size/capacity use word-size integers when elements are small"

This reverts commit b8d08e961df1d229872c785ebdbc8367432e9752.

This change causes a 1% compile-time and 1% memory usage regression:

http://llvm-compile-time-tracker.com/compare.php?from=73b7dd1fb3c17a4ac4b1f1e603f26fa708009649&to=b8d08e961df1d229872c785ebdbc8367432e9752&stat=instructions
http://llvm-compile-time-tracker.com/compare.php?from=73b7dd1fb3c17a4ac4b1f1e603f26fa708009649&to=b8d08e961df1d229872c785ebdbc8367432e9752&stat=max-rss
llvm/include/llvm/ADT/SmallVector.h
llvm/lib/Support/SmallVector.cpp