[LLVMdev] Replacing Platform Specific IR Codes with Generic Implementation and Introducing Macro Facilities

Suminda Dharmasena sirinath at sakrio.com
Sat May 10 06:40:19 PDT 2014


Some target specific IRs do not make sense in other platforms. Perhaps they
should be removed from LLVM but only generated through compilation process.
Speed penalties should be handled by intelligent compilation. It would be
helpful if all the IRs were abstract than you have platform specific IRs.
The final compilation step has more flexibility this way and also more
optimisation can be done optimise. (There could be more efficient
alternatives than explicitly using thus forcing the specific platform
specific ASM.) How I see platform specific IRs is like "register" or
"inline" in C++. With clever compilation techniques they are not needed and
the compiler can do a better job. Perhaps this should be something to be
explored in the long run.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140510/c4b8666f/attachment.html>


More information about the llvm-dev mailing list