With XPLINK, a no-op with information about the call type is emitted
after each call instruction. Centralizing it has the advantage that it is
easy to document all cases, and it makes it easier to extend it later
(e.g. dynamic stack allocation, 32 bit mode).
Also add a test checking the call types emitted so far.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Event Timeline
Comment Actions
See inline comment. Otherwise this LGTM.
llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp | ||
---|---|---|
127 | Minor nit: this function could use a comment explaining that it is deliberately emitting a NOP instruction that encodes information into the register used, in accordance with the XPLINK ABI. |
Minor nit: this function could use a comment explaining that it is deliberately emitting a NOP instruction that encodes information into the register used, in accordance with the XPLINK ABI.