This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Bail out of FISel when lowering long calls
ClosedPublic

Authored by nemanjai on Apr 19 2022, 4:22 AM.

Details

Summary

We currently don't handle tail calls in fast-isel but we continue with the lowering when -mlongcall is specified and lower the calls normally. We should defer to SDISel for this so that it is lowered correctly.

Diff Detail

Event Timeline

nemanjai created this revision.Apr 19 2022, 4:22 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2022, 4:22 AM
nemanjai requested review of this revision.Apr 19 2022, 4:22 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2022, 4:22 AM

@nemanjai ,thank you for quick fix and please checkout the unit test failed ?

@nemanjai ,thank you for quick fix and please checkout the unit test failed ?

The unit test failure should be unrelated. A change in code generation for PowerPC should not cause a sanitizer failure on X86.

@nemanjai ,thank you for quick fix and please checkout the unit test failed ?

The unit test failure should be unrelated. A change in code generation for PowerPC should not cause a sanitizer failure on X86.

I'm ok with the changes .

amyk accepted this revision as: amyk.Apr 22 2022, 3:38 PM
amyk added a subscriber: amyk.

LGTM.

This revision is now accepted and ready to land.Apr 22 2022, 3:38 PM
This revision was landed with ongoing or failed builds.Feb 16 2023, 1:15 PM
This revision was automatically updated to reflect the committed changes.