Alexander Friedman wrote: > How do I tell the code generator to enable tail calls on the X86? > Since it is part of a library, I cannot pass a command line argument. Here is a snippet from our code which might help you ;-) const char *args[] = { "-disable-pattern-isel", "false", 0 }; cl::ParseCommandLineOptions(2, args); m.