This fixes an extremely long compile time caused by recursive analysis
of truncs, which were not previously subject to any depth limits unlike
some of the other ops. I decided to use the same control used for
sext/zext, since the routines analyzing these are sometimes mutually
recursive with the trunc analysis.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
lgtm!
lib/Analysis/ScalarEvolution.cpp | ||
---|---|---|
205 ↗ | (On Diff #189389) | Let's rename this now, maybe to MaxCastDepth? |