Hacker News new | ask | show | jobs
by steveklabnik 3711 days ago
Since this is before the LLVM passes, it doesn't really change anything, and can't.
1 comments

I have no experience with LLVM internals, but couldn't you split up the code and disable some of LLVM's optimizations on blocks defined by the programmer?

Or do you have to pass the entire program at once to LLVM? Maybe the ability to disable optimizations only on certain functions is possible, idk, but I think it certainly would be nice.

I'm not knowledgeable about that, to be honest.