Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp | ||
---|---|---|
763 ↗ | (On Diff #88635) | I noticed that this function largely duplicates handling in LowerTypeTests.cpp (ditto for exportGlobal). Would it make sense to refactor that into a general helper that can be invoked by both? |
llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp | ||
---|---|---|
763 ↗ | (On Diff #88635) | Maybe. This is a "rule of three" situation, I think -- if we add another pass that needs this, we can factor it out. |