When type casting of the return value is needed, promoteIndirectCall will return the type casting instruction instead of the direct call. This patch changed to return the direct call instruction instead.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 3675 Build 3675: arc lint + arc unit
Event Timeline
lib/Transforms/Instrumentation/IndirectCallPromotion.cpp | ||
---|---|---|
562 ↗ | (On Diff #87239) | stripPointerCasts call? This probably should be called at the caller of promoteIndirectcall |