Aborts if we hit the max devirtualization iteration.
Will be useful for testing that changes to devirtualization don't cause
devirtualization to repeat passes more times than necessary.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Code looks good to me as is.
llvm/include/llvm/Analysis/CGSCCPassManager.h | ||
---|---|---|
645 | This is unrelated to your change, and I could be wrong here, but this seems like an awful lot of templated code that doesn't depend on PassT or Pass. How much of this can be sunk into a .cpp file, similar to the way you pushed down maxDevitIterationsReached? | |
719 | The above thought was brought to you by considering if this LLVM_DEBUG goo should be pushed down into maxDevirtIterationsReached, but I decided it's probably not worth doing. |
llvm/include/llvm/Analysis/CGSCCPassManager.h | ||
---|---|---|
645 | Specifically for DevirtSCCRepeatedPass, I'm planning on removing a bunch of it soon :) |
This is unrelated to your change, and I could be wrong here, but this seems like an awful lot of templated code that doesn't depend on PassT or Pass. How much of this can be sunk into a .cpp file, similar to the way you pushed down maxDevitIterationsReached?