On 09/12/2023 10:07, Adriaan van Os via fpc-devel wrote:

Another question. Is there a way to put pragmas in fpc source code to be passed to CLang, eg. those mentioned here <https://llvm.org/docs/Vectorizers.html> ? That would gain a lot, at little cost.

No. However, FPC command line parameters (e.g. -O, -Cp) and directives/modifiers (e.g. inline, const, constref, ...) get translated into LLVM directives wherever possible.

So if/when we would get FPC equivalents of such directives, I could translate those to LLVM IR as well.


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to