[all-commits] [llvm/llvm-project] d1a9ba: [libc] Prevent overflow from intermediate results ...

lntue via All-commits all-commits at lists.llvm.org
Thu Aug 4 12:01:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1a9ba7b67038a8d2560fa4b5abac59ddda28f11
      https://github.com/llvm/llvm-project/commit/d1a9ba7b67038a8d2560fa4b5abac59ddda28f11
  Author: Tue Ly <lntue at google.com>
  Date:   2022-08-04 (Thu, 04 Aug 2022)

  Changed paths:
    M libc/src/__support/CPP/UInt.h
    M libc/test/src/__support/uint128_test.cpp
    M libc/utils/UnitTest/LibcTest.cpp

  Log Message:
  -----------
  [libc] Prevent overflow from intermediate results when adding UInt<N> values.

Prevent overflow from intermediate results when adding UInt<N> values.

Reviewed By: orex

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




More information about the All-commits mailing list