[all-commits] [llvm/llvm-project] 64b7df: [PassManager] Store analysis results in contiguous...

Clemens Wasser via All-commits all-commits at lists.llvm.org
Fri Sep 11 13:00:57 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64b7dfef40e59b8596a272a431aa3a4abcef33c1
      https://github.com/llvm/llvm-project/commit/64b7dfef40e59b8596a272a431aa3a4abcef33c1
  Author: Clemens Wasser <clemens.wasser at gmail.com>
  Date:   2026-09-11 (Fri, 11 Sep 2026)

  Changed paths:
    M llvm/include/llvm/IR/PassManager.h
    M llvm/include/llvm/IR/PassManagerImpl.h
    M llvm/lib/Transforms/Scalar/InferAlignment.cpp
    M llvm/tools/llubi/lib/Interpreter.cpp
    M polly/include/polly/ScopInfo.h

  Log Message:
  -----------
  [PassManager] Store analysis results in contiguous storage (#222003)

Store per-IR analysis results in a `SmallVector` instead of `std::list`
to avoid a heap allocation per cached analysis. The lookup map stores
the raw result pointer, which stays stable behind the unique_ptr.

geomean -0.12% for optimizing builds, clang build -0.34%

https://llvm-compile-time-tracker.com/compare.php?from=e6734a41bb41d91cb880fe7abce46d8146182518&to=4fc43802817cf8daddbebadb0b7fbfaa6286e7fe&stat=instructions:u



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list