[all-commits] [llvm/llvm-project] 8f79b0: [llvm] Do not zero out write_unsigned_impl interna...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Wed Jan 25 22:59:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f79b0fe0047d6a3857ab2dd4bd121a1c4e3afba
      https://github.com/llvm/llvm-project/commit/8f79b0fe0047d6a3857ab2dd4bd121a1c4e3afba
  Author: serge-sans-paille <sguelton at mozilla.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M llvm/lib/Support/NativeFormatting.cpp
    M llvm/unittests/Support/NativeFormatTests.cpp

  Log Message:
  -----------
  [llvm] Do not zero out write_unsigned_impl internal buffer

Current implementation uselessly calls memset on its internal buffer
while it does not read the non overwritten part.

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


  Commit: 3ab51fff3c2a044196f4b4634fab8c29f87dd7ee
      https://github.com/llvm/llvm-project/commit/3ab51fff3c2a044196f4b4634fab8c29f87dd7ee
  Author: serge-sans-paille <sguelton at mozilla.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M llvm/include/llvm/ADT/edit_distance.h

  Log Message:
  -----------
  [llvm] Replace array allocation pattern by SmallVector in ComputeMappedEditDistance

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


Compare: https://github.com/llvm/llvm-project/compare/136c7ef5d10f...3ab51fff3c2a


More information about the All-commits mailing list