[PATCH] Make sibling call opt work with common x86 callee pop conventions

David Majnemer david.majnemer at gmail.com
Thu Mar 27 22:06:51 PDT 2014



================
Comment at: lib/Target/X86/X86ISelLowering.cpp:3235
@@ +3234,3 @@
+      // If this is a callee pop convention, the argument amount of argument
+      // stack space available in the caller must match that of the callee.
+      if (X86::isCalleePop(CalleeCC, Subtarget->is64Bit(), isVarArg,
----------------
> the ~~argument~~ amount of argument stack space available


http://llvm-reviews.chandlerc.com/D3209



More information about the llvm-commits mailing list