The branch weights of the unrolled loop need to be reduced by the
unroll factor.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
It's a bit surprising that issues like this went unnoticed for so long... Thanks for the fix.
llvm/lib/Transforms/Utils/LoopUnroll.cpp | ||
---|---|---|
315 | nit: Unnecessary llvm:: prefix. |
Comment Actions
I think the problem is that we don't have an end to end integration test for profile propagation through the compiler.
nit: Unnecessary llvm:: prefix.