mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
[CSSPGO] Fix MSVC initializing truncation warning (NFC)
MSVC warning: ``` \llvm-project\llvm\include\llvm\Transforms\IPO\SampleProfileProbe.h(65): warning C4305: 'initializing': truncation from 'double' to 'const float' ```
This commit is contained in:
parent
1494409759
commit
d2c15b833e
@ -62,7 +62,7 @@ public:
|
||||
|
||||
private:
|
||||
// Allow a little bias due the rounding to integral factors.
|
||||
constexpr static float DistributionFactorVariance = 0.02;
|
||||
constexpr static float DistributionFactorVariance = 0.02f;
|
||||
// Distribution factors from last pass.
|
||||
FuncProbeFactorMap FunctionProbeFactors;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user