[LLVMdev] JIT + tail cals

Morten Ofstad morten at hue.no
Wed May 18 01:24:50 PDT 2005


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.




More information about the llvm-dev mailing list