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).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D109436
[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 TimelineHerald added subscribers: vkmr, frasercrmck, evandro and 22 others. · View Herald TranscriptSep 8 2021, 7:28 AM This revision is now accepted and ready to land.Sep 8 2021, 10:19 AM Closed by commit rG261cbe98c38f: [RISCV] Fix Machine Outliner jump table handling. (authored by yroux). · Explain WhySep 8 2021, 10:32 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 371506 llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
llvm/test/CodeGen/RISCV/machineoutliner-jumptable.mir
|