[PATCH] D19904: XRay: Add entry and exit sleds
Dean Michael Berris via llvm-commits
llvm-commits at lists.llvm.org
Tue May 10 22:15:01 PDT 2016
dberris marked an inline comment as done.
================
Comment at: include/llvm/Target/TargetInstrInfo.h:157-168
@@ -154,14 +156,14 @@
/// Returns the actual stack pointer adjustment made by an instruction
/// as part of a call sequence. By default, only call frame setup/destroy
/// instructions adjust the stack, but targets may want to override this
/// to enable more fine-grained adjustment, or adjust by a different value.
virtual int getSPAdjust(const MachineInstr *MI) const;
/// Return true if the instruction is a "coalescable" extension instruction.
/// That is, it's like a copy where it's legal for the source to overlap the
/// destination. e.g. X86::MOVSX64rr32. If this returns true, then it's
/// expected the pre-extension value is available as a subreg of the result
/// register. This also returns the sub-register index in SubIdx.
virtual bool isCoalescableExtInstr(const MachineInstr &MI,
unsigned &SrcReg, unsigned &DstReg,
----------------
Updated now to white-list a specific return OpCode.
http://reviews.llvm.org/D19904
More information about the llvm-commits
mailing list