================
@@ -1293,9 +1293,9 @@ void CSProfileGenerator::populateBodySamplesWithProbes(
// and will be inferred by the compiler.
for (auto &I : FrameSamples) {
for (auto *FunctionProfile : I.second) {
- for (auto *Probe : I.first->getProbes()) {
- FunctionProfile->addBodySamples(Probe->getIndex(),
- Probe->getDiscriminator(), 0);
+ for (auto &Probe : I.first->getProbes()) {
----------------
wlei-llvm wrote:
Seems this can be `const auto`
https://github.com/llvm/llvm-project/pull/102789
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits