Currently, the -fprofile-udpate is ignored when -fprofile-generate is in effect. This patch enables -fprofile-update for -fprofile-generate. This patch continues the work from https://reviews.llvm.org/D87737, which added -fprofile-update in the first place.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Thanks!
llvm/lib/Passes/PassBuilderPipelines.cpp | ||
---|---|---|
1796–1798 | The canonical way to specify the parameter name is /*IsCS=*/true |
Will do!
llvm/lib/Passes/PassBuilderPipelines.cpp | ||
---|---|---|
1796–1798 | Ah thanks for pointing it out! Let me fix it in a later NFC patch if that is OK. There are quite a few changes required and they would make the actual feature harder to see. |
llvm/lib/Passes/PassBuilderPipelines.cpp | ||
---|---|---|
1796–1798 | I think it's better to fix the argument style while you are modifying it. Otherwise, there may not be not much value to do a batch change for this file. |
llvm/lib/Passes/PassBuilderPipelines.cpp | ||
---|---|---|
1796–1798 |
Ok sounds good. I will fix the comments relevant to this patch. Thanks! |
The canonical way to specify the parameter name is /*IsCS=*/true