[all-commits] [llvm/llvm-project] 0fbeca: [SmallVector] Reallocate if assigned memory is rig...

Alina Sbirlea via All-commits all-commits at lists.llvm.org
Thu Oct 6 15:38:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0fbeca0ee6f0cdc37b89e5b06fbb3ca6caf26f66
      https://github.com/llvm/llvm-project/commit/0fbeca0ee6f0cdc37b89e5b06fbb3ca6caf26f66
  Author: Alina Sbirlea <asbirlea at google.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

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

  Log Message:
  -----------
  [SmallVector] Reallocate if assigned memory is right after the current vector, created with capacity 0

Potential solution for
https://github.com/llvm/llvm-project/issues/57324.

Differential Revision: https://reviews.llvm.org/D132512




More information about the All-commits mailing list