Outline chunks of code which don't need a save/restore mechanism of the link register.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for splitting this out, but how about some more testing..?
- Instructions that read/write SP (in the presence and absence of calls and LR usage).
- The generated return instruction.
| llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp | ||
|---|---|---|
| 5700 | SmallVector? | |
| llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp | ||
|---|---|---|
| 5700 | It will be passed as a parameter to outliner::OutlinedFunction which waits for an std::Vector, maybe a SmallVector can used there instead but I think it should be done in another patch | |
SmallVector?