On 06/18/2016 06:10 AM, Jiaqi Tan wrote:
Thank you for the replies!
In that case, can I assume that the switches that don't begin with
"-ftree" work on the lower level RTL IR?
Generally, yes.
Also, out of curiousity, are there any optimizations that require the
lower level IR in order to work?
Register allocation, low level jump optimization, addressing mode
optimizations, etc. Essentially anything closely related to generating
code for the target processor is handled at the lower level (RTL) IL.
Things which are largely independent of the target are handled at the
higher level IL (trees/gimple).
Jeff