[all-commits] [llvm/llvm-project] d59bc6: Clang/MIPS: Add +fp64 if MSA and no explicit -mfp ...

YunQiang Su via All-commits all-commits at lists.llvm.org
Sun May 19 23:48:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d59bc6b5c75384aa0b1e78cc85e17e8acaccebaf
      https://github.com/llvm/llvm-project/commit/d59bc6b5c75384aa0b1e78cc85e17e8acaccebaf
  Author: YunQiang Su <syq at debian.org>
  Date:   2024-05-20 (Mon, 20 May 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Arch/Mips.cpp
    M clang/test/Driver/mips-as.c
    M clang/test/Driver/mips-features.c

  Log Message:
  -----------
  Clang/MIPS: Add +fp64 if MSA and no explicit -mfp option (#91949)

MSA requires -mfp64. If FP64 is supported by CPU (mips32r2+), and no
-mfp32/-mfpxx is explicitly given, let's add +fp64. Otherwise some cmd
like
   clang --target=mips -mips32r5 -mmsa
will issue LLVM backend ICE.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list