This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Use int64_t to represent stack object offset and frame size
ClosedPublic

Authored by lkail on Aug 4 2021, 2:17 AM.

Details

Summary

This is the first step to enable PPC64 support huge frame size(>2G). Also fix an assertion error for frame size, i.e.,int x; !isInt<32>(x); should be always evaluated false, so the guard code for frame size is impossible to hit.

Diff Detail

Event Timeline

lkail created this revision.Aug 4 2021, 2:17 AM
lkail requested review of this revision.Aug 4 2021, 2:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2021, 2:17 AM
lkail edited the summary of this revision. (Show Details)Aug 4 2021, 2:31 AM
lkail updated this revision to Diff 365676.Aug 11 2021, 12:02 AM
lkail retitled this revision from [PowerPC][RFC][1/n] Fix always unreachable `llvm_unreachable` path to [PowerPC][RFC][1/n] Use int64_t to represent stack object offset and frame size.
lkail edited the summary of this revision. (Show Details)
lkail edited the summary of this revision. (Show Details)Aug 11 2021, 12:40 AM
jsji accepted this revision as: jsji.Aug 20 2021, 12:17 PM

LGTM.

This revision is now accepted and ready to land.Aug 20 2021, 12:17 PM
lkail retitled this revision from [PowerPC][RFC][1/n] Use int64_t to represent stack object offset and frame size to [PowerPC] Use int64_t to represent stack object offset and frame size.Aug 22 2021, 6:57 PM
This revision was landed with ongoing or failed builds.Aug 22 2021, 7:13 PM
This revision was automatically updated to reflect the committed changes.