[clang] [clang] Support -Wa, options -mmsa and -mno-msa (PR #99615)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 31 23:53:13 PDT 2024


yingopq wrote:

> I have a try of your patch
> 
> ```
> $ ./bin/clang --target=mips-linux-gnu -mfp64 -Wa,-mmsa nn.c
> error: unknown argument: '-mmsa'
> ```
> 
> Oh, `-no-integrated-as` works with your patch.
> 
> ```
>  mipsel-linux-gnu-gcc-14 -mfp64 -Wa,-mmsa nn.c
> ```
> 
> has no such problem.

I added Visibility option 'CC1Option' and tested OK.

https://github.com/llvm/llvm-project/pull/99615


More information about the cfe-commits mailing list