[all-commits] [llvm/llvm-project] 3e7135: [PPC] Disable vsx and altivec when -msoft-float is...

Zaara Syeda via All-commits all-commits at lists.llvm.org
Thu Aug 8 09:27:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e7135750cfe41e8b093e19ce5b85ad937e064fd
      https://github.com/llvm/llvm-project/commit/3e7135750cfe41e8b093e19ce5b85ad937e064fd
  Author: Zaara Syeda <syzaara at ca.ibm.com>
  Date:   2024-08-08 (Thu, 08 Aug 2024)

  Changed paths:
    M clang/lib/Basic/Targets/PPC.cpp
    M clang/test/Driver/ppc-dependent-options.cpp
    A clang/test/Driver/ppc-soft-float.c

  Log Message:
  -----------
  [PPC] Disable vsx and altivec when -msoft-float is used (#100450)

We emit an error when -msoft-float and -maltivec/-mvsx is used together,
but when -msoft-float is used on its own, there is still +altivec and
+vsx in the IR attributes. This patch disables altivec and vsx and all
related sub features when -msoft-float is used.



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