[llvm-dev] LLVM IR allocation optimisation

Paul Hancock via llvm-dev llvm-dev at lists.llvm.org
Tue Aug 16 23:55:47 PDT 2016


I couldn't find any straight answers about this, but is modern LLVM (3.7.1 in my case) "smart enough" to automatically handle "temporary variable" allocations as efficiently as possible without me needing to put them all at the very start of the function? or is building IR with allocations as they are in the original code (ie; scattered throughout the function's code) still "problematic" when it comes to performance?

- Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160817/9e33f359/attachment.html>


More information about the llvm-dev mailing list