The test fails in -DLLVM_ENABLE_EXPENSIVE_CHECKS=on -DLLVM_ENABLE_ASSERTIONS=on builds, both Debug and Release.
At llvm/lib/Transforms/IPO/SampleProfile.cpp:1420, the initialized NewCandidate may have a nullCalleeSamples, leading to assert(LCS && RCS && "Expect non-null FunctionSamples"); failure in (anonymous namespace)::CandidateComparer::operator()
The test fails in
-DLLVM_ENABLE_EXPENSIVE_CHECKS=on -DLLVM_ENABLE_ASSERTIONS=on
builds, both Debug and Release.At
llvm/lib/Transforms/IPO/SampleProfile.cpp:1420
, the initializedNewCandidate
may have anull
CalleeSamples
, leading toassert(LCS && RCS && "Expect non-null FunctionSamples");
failure in(anonymous namespace)::CandidateComparer::operator()
@WenleiHe