[PATCH] Disable x86 tail call optimization under PIC mode
David
davidxl at google.com
Fri May 22 14:36:34 PDT 2015
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:2929
@@ -2928,3 @@
- } else {
- // If we are tail calling and generating PIC/GOT style code load the
- // address of the callee into ECX. The value in ecx is used as target of
----------------
It is a valid optimization with eager binding, so it seems the behavior should be controlled by an option.
http://reviews.llvm.org/D9799
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list