Files
clang-p2996/llvm/lib/Analysis/MLInlineAdvisor.cpp
Jellytabby 18fced40d5 [LLVM][MLGO] Fix: Index correctly into features to get default inlining decision (#141453)
Currently, `InlineCostFeatureIndex::NumberOfFeatures` results in an
index in the middle of the feature vector, therefore not correctly
setting the default inlining decision and overwriting another feature.
`FeatureIndex::NumberOfFeatures` is the last index of the feature
vector, where the default inlining decision gets appended to when
enabled.
2025-05-26 14:57:04 +09:00

22 KiB