[all-commits] [llvm/llvm-project] f005f6: Revert "ADT: SmallVector size/capacity use word-si...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Apr 18 02:47:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f005f6c2343438b3760f2d6b5f396f42050cbd4d
      https://github.com/llvm/llvm-project/commit/f005f6c2343438b3760f2d6b5f396f42050cbd4d
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-04-18 (Sat, 18 Apr 2020)

  Changed paths:
    M llvm/include/llvm/ADT/SmallVector.h
    M llvm/lib/Support/SmallVector.cpp

  Log Message:
  -----------
  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




More information about the All-commits mailing list