[all-commits] [llvm/llvm-project] 27ddcd: [profile] Fix InstrProfGetRangeRepValue to use UIN...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Mar 9 12:46:32 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27ddcd51d3ca6158447af4ff954004efb2a2759c
      https://github.com/llvm/llvm-project/commit/27ddcd51d3ca6158447af4ff954004efb2a2759c
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

  Changed paths:
    M compiler-rt/include/profile/InstrProfData.inc

  Log Message:
  -----------
  [profile] Fix InstrProfGetRangeRepValue to use UINT64_C

This is a minor issue because the TargetValue parameter of `__llvm_profile_instrument_memop`
is usually small and cannot exceed 2**31 at all.

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




More information about the All-commits mailing list