lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 5 March 2015 at 11:55, Ahmed Charles <acharles@outlook.com> wrote:
> Why does the Ravi version exist in a Debug directory? Are optimizations on?

Hi,
The LLVM generated code is not affected by this - only affects the
interpreter code. But that is not being measured here so it isn't a
factor in the timings.

I admit though that I am new to LLVM and therefore may not be
generating the best code. I do run the LLVM optimizer passes but the
problem is that contrary to appearances LLVM is poorly documented, so
it is not at all clear how the optimizer passes should be hooked up,
and how well they are coping with the LLVM IR I am generating.
Hopefully I will work out better ways as I learn more.

Regards
Dibyendu