I don't see any reason not to unconditionally retrieve TLI, it's fairly
cheap.
Fixes calls-errno.ll under NPM.
Differential D91476
[DCE] Always get TargetLibraryInfo aeubanks on Nov 13 2020, 11:35 PM. Authored by
Details
I don't see any reason not to unconditionally retrieve TLI, it's fairly Fixes calls-errno.ll under NPM.
Diff Detail
Unit Tests
Event TimelineComment Actions actually the legacy PM does the same thing, and also opt registers TLI analysis, will take another look Comment Actions looks like opt registers its own TargetLibraryAnalysis but that doesn't count as running it, so getCachedResult returns null |