[all-commits] [llvm/llvm-project] d8bff1: [NFC] Add missing <map> includes

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jan 19 03:29:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8bff13a8a681ea8af34556f5b00409389dc64d5
      https://github.com/llvm/llvm-project/commit/d8bff13a8a681ea8af34556f5b00409389dc64d5
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-01-19 (Wed, 19 Jan 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/SyncDependenceAnalysis.h
    M llvm/lib/Analysis/BranchProbabilityInfo.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp

  Log Message:
  -----------
  [NFC] Add missing <map> includes

These were relying on a transitive include.


  Commit: 42a68215a1291981d0f7d32c397eb64fd1ff0b11
      https://github.com/llvm/llvm-project/commit/42a68215a1291981d0f7d32c397eb64fd1ff0b11
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2022-01-19 (Wed, 19 Jan 2022)

  Changed paths:
    M llvm/include/llvm/IR/Attributes.h
    M llvm/lib/IR/Attributes.cpp

  Log Message:
  -----------
  [AttrBuilder] Change storage to sorted vector (NFC)

This follows up on the work in D116599, which changed AttrBuilder
to store string attributes as SmallVector<Attribute>. This patch
changes the implementation to store *all* attributes as a sorted
vector.

This both makes the implementation simpler and improves compile-time.
We get a -0.5% geomean compile-time improvement on CTMark at O0.

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


Compare: https://github.com/llvm/llvm-project/compare/a2f488c6a5ce...42a68215a129


More information about the All-commits mailing list