Push the weights right to fit in uint32_t.

Synopsis

Declared in <llvm/IR/ProfDataUtils.h>

Return Value

The weights scaled down to fit in uint32_t.

Parameters

Name

Description

Weights

The 64‐bit weights to scale down to 32 bits.

Created with MrDocs