<div dir="ltr">You can do everything from legalize it yourself, or just add code to select it and legalize it in your backend during instruction selection. fast-isel now has support for completely avoiding the target independent version of the code.<div><br></div><div>-eric</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 31, 2014 at 10:41 AM, Reed Kotler <span dir="ltr"><<a href="mailto:Reed.Kotler@imgtec.com" target="_blank">Reed.Kotler@imgtec.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I understand that but falling back makes the compilation slower.<br>
<br>
I'm wondering what could be done to remove this restriction about fast-isel not being able to<br>
handle non legal types.<br>
<br>
<br>
________________________________________<br>
From: Anton Korobeynikov [<a href="mailto:anton@korobeynikov.info">anton@korobeynikov.info</a>]<br>
Sent: Sunday, August 31, 2014 12:55 AM<br>
To: Reed Kotler<br>
Cc: <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a><br>
Subject: Re: [LLVMdev] lowering and non legal types in fast-isel<br>
<div class="HOEnZb"><div class="h5"><br>
Fastisel should fallback to usual selector in the cases it cannot<br>
handle. So, for illegal types as well.<br>
<br>
On Sun, Aug 31, 2014 at 1:42 AM, reed kotler <<a href="mailto:rkotler@mips.com">rkotler@mips.com</a>> wrote:<br>
> Fast-isel is not equipped in general to deal with non legal types.<br>
><br>
> It would seem that an llvm assembler pass run after clang but before llvm<br>
> could do the lowering though.<br>
><br>
> Any thoughts?<br>
><br>
> Reed<br>
><br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br>
<br>
<br>
--<br>
With best regards, Anton Korobeynikov<br>
Faculty of Mathematics and Mechanics, Saint Petersburg State University<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br></div>