This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Fix Machine Outliner jump table handling.
ClosedPublic

Authored by yroux on Sep 8 2021, 7:28 AM.

Details

Summary

Don't outline machine instructions which are using jump table indexes since they are materialized as local labels (like the already handled case of constant pools).

Diff Detail

Event Timeline

yroux created this revision.Sep 8 2021, 7:28 AM
yroux requested review of this revision.Sep 8 2021, 7:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 8 2021, 7:28 AM
lenary resigned from this revision.Sep 8 2021, 7:29 AM
paquette accepted this revision.Sep 8 2021, 10:19 AM

Seems reasonable to me.

This revision is now accepted and ready to land.Sep 8 2021, 10:19 AM
This revision was automatically updated to reflect the committed changes.