<div dir="ltr"><div class="gmail_extra">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.</div>
</div>