Optimize llvm
4
Click here to load reader
Transcript of Optimize llvm
Optimize Code with LLVM
What is the main point?
The talk gives a detailed explanation of several new Build Settings in XCode.
“Relax IEEE Compliance”
“Vectorize Loops”
“Link-Time Optimization”
“Unroll Loops”
“Optimization Level -Ofast”
What could you get out of it?
A C/Assembly level explanation of what the complier is doing to take advantage of some of the features of ARM/Intel processors.
It is especially useful if you write code that has a lot of for-loops (games, scientific applications, image processing, etc.)
What is the most interesting point?
There were a couple of interesting points which were briefly mentioned:
The restrict keyword.
Structs of arrays are better than arrays of structs.