Displaying 1 result from an estimated 1 matches for "bkbkcjk".
2016 Oct 12
4
Can LLVM emit machine code faster with no optimization passes?
...uild time of
his compiler with when no optimizations are run on the user's code.
Part 1: https://www.youtube.com/watch?v=HLk4eiGUic8
Part 2: https://www.youtube.com/watch?v=mIjGYbol0O4
He discusses what parts are taking the longest to compile, and the
ultimately shows this:
http://i.imgur.com/BkbKcJK.png
...which shows that emitting LLVM IR in memory and
LLVMTargetMachineEmitToFile is the bottleneck in his compiler toolchain.
In fact, it was significantly faster to emit C to disk and compile with
MSVC than to emit LLVM in memory and call LLVMTargetMachineEmitToFile.
His conclusion is that he...