Fast-isel is not equipped in general to deal with non legal types. It would seem that an llvm assembler pass run after clang but before llvm could do the lowering though. Any thoughts? Reed
Anton Korobeynikov
2014-Aug-31 07:55 UTC
[LLVMdev] lowering and non legal types in fast-isel
Fastisel should fallback to usual selector in the cases it cannot handle. So, for illegal types as well. On Sun, Aug 31, 2014 at 1:42 AM, reed kotler <rkotler at mips.com> wrote:> Fast-isel is not equipped in general to deal with non legal types. > > It would seem that an llvm assembler pass run after clang but before llvm > could do the lowering though. > > Any thoughts? > > Reed > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
I understand that but falling back makes the compilation slower. I'm wondering what could be done to remove this restriction about fast-isel not being able to handle non legal types. ________________________________________ From: Anton Korobeynikov [anton at korobeynikov.info] Sent: Sunday, August 31, 2014 12:55 AM To: Reed Kotler Cc: LLVMdev at cs.uiuc.edu Subject: Re: [LLVMdev] lowering and non legal types in fast-isel Fastisel should fallback to usual selector in the cases it cannot handle. So, for illegal types as well. On Sun, Aug 31, 2014 at 1:42 AM, reed kotler <rkotler at mips.com> wrote:> Fast-isel is not equipped in general to deal with non legal types. > > It would seem that an llvm assembler pass run after clang but before llvm > could do the lowering though. > > Any thoughts? > > Reed > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University