This introduces a new FrameBuilder type to try to reduce the
complexity in the PEI handling in the frame lowering. This is
currently a small added complexity for incrementally migrating
the implementation to this type which can be shared across the
prologue and epilogue emission as they both recompute a shared
set of information. It should allow for the prologue emission
to become a dispatch over the format - funclet, windows 32/64,
or Unix.
Details
- Reviewers
rnk
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Looks good to me!
llvm/lib/Target/X86/X86FrameLowering.cpp | ||
---|---|---|
1786 | As future work, you could probably add FrameBuilder::BuildMI methods that return a MachineInstrBuilder and fill in the standard insertion point and debug location, and which perhaps include the TII.get() opcode lookup. |
clang-tidy: warning: private field 'MF' is not used [clang-diagnostic-unused-private-field]
not useful