[cfe-dev] Future of AST transformation
Olaf Krzikalla
Olaf.Krzikalla at tu-dresden.de
Mon Jul 23 02:35:55 PDT 2012
>> What Ronan said: I use the transformation for SIMD vectorization of
>> loops. The resulting code is still readable but not any longer in a way
>> suitable for maintenance. Mostly it is sent to a compiler straightforward.
>
> I'm probably missing something, but my gut feeling would be that this
> should be rather done as an llvm pass... Any specific reasons that
> speak against this?
It needs to be source-to-source. The output is sent to other compilers.
The llvm-to-c code is not really suitable for this kind of tasks.
Best regards
Olaf Krzikalla
More information about the cfe-dev
mailing list