[PATCH] D23986: [XRay] Detect and emit sleds for sibling/tail calls

Serge Rogatch via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 22 14:12:46 PDT 2016


rSerge added inline comments.

================
Comment at: llvm/trunk/lib/Target/X86/X86MCInstLower.cpp:1126
@@ +1125,3 @@
+      TC.addOperand(MaybeOperand.getValue());
+  OutStreamer->EmitInstruction(TC, getSubtargetInfo());
+}
----------------
Why all the hassle with passing the original tail call instruction and its operands in the arguments of the patchable tail call instruction, instead of just prepending the original tail call instruction with the sled code?


Repository:
  rL LLVM

https://reviews.llvm.org/D23986





More information about the llvm-commits mailing list