This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC][NFC] expose issue on absol-jump-table-enabled.ll (relocation-model=pic + ppc-use-absolute-jumptables)
ClosedPublic

Authored by tingwang on Jun 29 2023, 1:25 AM.

Details

Summary

To me, it is expected that when ppc-use-absolute-jumptables is turned on, jump table entries should use MachineJumpTableInfo::EK_BlockAddress encoding.

However added test cases show otherwise...

Diff Detail

Event Timeline

tingwang created this revision.Jun 29 2023, 1:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 29 2023, 1:25 AM
tingwang requested review of this revision.Jun 29 2023, 1:25 AM
tingwang added inline comments.Jun 29 2023, 1:25 AM
llvm/test/CodeGen/PowerPC/absol-jump-table-enabled.ll
73

Expected absolute.

79

Expected absolute.

85

Expected absolute.

This revision was not accepted when it landed; it landed in state Needs Review.Jun 29 2023, 5:32 PM
This revision was automatically updated to reflect the committed changes.