Instructions CALLSEQ_START..CALLSEQ_END and their target dependent
counterparts keep data like frame size, stack adjustment etc. These
data are accessed by getOperand using hard coded indices. It is
error prone way. This change implements the access by special methods,
which improve readability and allow changing data representation without
massive changes of index values.
This patch is essentially NFC, it is needed to simplify subsequent changes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM, except for the comments.
include/llvm/Target/TargetInstrInfo.h | ||
---|---|---|
170 ↗ | (On Diff #94864) | This sentence is somewhat broken. |
lib/Target/X86/X86InstrInfo.h | ||
185 ↗ | (On Diff #94864) | This doesn't sound right. IIRC, the second parameter is precisely the adjustment this instruction is *not* responsible for. |