[all-commits] [llvm/llvm-project] 4c28e6: [ADT] Support appending multiple values (#69891)

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Tue Oct 24 10:20:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c28e666a75805cf453c0d4ed153bfbc779c45c5
      https://github.com/llvm/llvm-project/commit/4c28e666a75805cf453c0d4ed153bfbc779c45c5
  Author: Jakub Kuderski <jakub at nod-labs.com>
  Date:   2023-10-24 (Tue, 24 Oct 2023)

  Changed paths:
    M llvm/include/llvm/ADT/STLExtras.h
    M llvm/unittests/ADT/STLExtrasTest.cpp
    M mlir/lib/Target/SPIRV/Serialization/Serializer.cpp

  Log Message:
  -----------
  [ADT] Support appending multiple values (#69891)

This is so that we can append multiple values at once without having to
create a temporary array or repeatedly call `push_back`.

Use the new function `append_values` to clean up the SPIR-V serializer
code. (NFC)




More information about the All-commits mailing list