[all-commits] [llvm/llvm-project] ef5ba2: [NFC] Reserve the number of operands before push_b...

Nabeel Omer via All-commits all-commits at lists.llvm.org
Tue Aug 27 09:10:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef5ba2ede79f759ff8eaad222dca36aa5f1871c3
      https://github.com/llvm/llvm-project/commit/ef5ba2ede79f759ff8eaad222dca36aa5f1871c3
  Author: Nabeel Omer <nabeel.omer at sony.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:
    M llvm/lib/IR/ConstantsContext.h

  Log Message:
  -----------
  [NFC] Reserve the number of operands before push_back (#106234)

This reduces the number of allocations inside the loop.

Partially addresses #105836



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