[PATCH] D31557: [mips][ias] Enable IAS by default for OpenBSD / FreeBSD mips64/mips64el.

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 02:59:46 PST 2017


atanasyan added a comment.

In https://reviews.llvm.org/D31557#954034, @bsdjhb wrote:

> Simon, FreeBSD does support n32 as others have noted.  Do you have any thoughts on what is needed to allow N32 to work with IAS? 
>  It seems like there is some support in MipsAsmParser for N32 IIRC, though it seems like the integrated assembler thinks it is compiling
>  as N64 when -mabi=n32 is passed to clang (my attempt to compile FreeBSD N32 with clang currently dies due to encountering 'la'
>  and erroring since it thinks it is using N64 where 'dla' should be used instead.


I'm another Simon, but try to answer :) One of the problems with enabling N32 IAS is that we need to pass information about selected ABI to various places in the backend. There are two patches (https://reviews.llvm.org/D38799, https://reviews.llvm.org/D38800) sent on review and more patches in my working copy. As well as the previous attempts (https://reviews.llvm.org/D20916, https://reviews.llvm.org/D21467) to solve this problem, the patches are pending. I'm going to reactivate the process though.


Repository:
  rL LLVM

https://reviews.llvm.org/D31557





More information about the llvm-commits mailing list