Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
llvm/lib/CodeGen/CodeGenPrepare.cpp | ||
---|---|---|
6719 | select optimization also depends on other conditions such as PGO etc for now. Should we check if it is actually enabled? |
llvm/lib/CodeGen/CodeGenPrepare.cpp | ||
---|---|---|
6719 | The optimization is indeed much more effective with PGO since most of its heuristics rely on profile information. Yet, there is still some benefit for non-PGO builds, especially for AArch64. In fact, we have seen significant improvements (up to 3x speedups) for non-PGO builds for some ARM microbenchmarks. Some heuristics are only enabled for PGO builds while other ones such as the loop-level analysis improve their cost modeling with profile information but are still operational with conservative assumptions for weights for non-PGO builds. Therefore, I would avoid excluding any build (including non-PGO ones) from enabling the optimization. |
select optimization also depends on other conditions such as PGO etc for now. Should we check if it is actually enabled?