This is an archive of the discontinued LLVM Phabricator instance.

[Attributor] Directly call areTypesABICompatible() hook
ClosedPublic

Authored by nikic on Dec 20 2021, 5:34 AM.

Details

Summary

This is based on top of D116031. Instead of using the ArgumentPromotion implementation, we can now walk call sites using checkForAllCallSites() and directly call areTypesABICompatible() using the replacement types. I believe that resolves the TODO in the code.

Diff Detail

Event Timeline

nikic created this revision.Dec 20 2021, 5:34 AM
nikic requested review of this revision.Dec 20 2021, 5:34 AM
Herald added a reviewer: sstefan1. · View Herald Transcript
Herald added a reviewer: baziotis. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Dec 23 2021, 8:55 AM
This revision was landed with ongoing or failed builds.Dec 24 2021, 12:21 AM
This revision was automatically updated to reflect the committed changes.