[PATCH] Disable x86 tail call optimizations that jump through GOT

Chih-Hung Hsieh chh at google.com
Wed May 27 16:10:28 PDT 2015


Please review my new diff 4. This should allow tail call optimizations for protected and hidden symbols.
AFAIK, jump to those symbols do not use GOT.
On the other hand, I found some oddity about "sin" and "sin2" symbols in one test case,
which made me to use the strange condition:

  if (!(G && (.... || ...))) isTailCall = false;


http://reviews.llvm.org/D9799

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list