[all-commits] [llvm/llvm-project] 5160f6: Revert "[Driver] Mark m_x86_Features_Group options...

Hans via All-commits all-commits at lists.llvm.org
Tue Jun 13 04:05:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5160f6fefb0021a0b23e99c7cf621a330241c211
      https://github.com/llvm/llvm-project/commit/5160f6fefb0021a0b23e99c7cf621a330241c211
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/test/Driver/x86-target-features.c

  Log Message:
  -----------
  Revert "[Driver] Mark m_x86_Features_Group options as TargetSpecific"

This broke cross-builds of llvm from x86_64 to arm64 mac, see
comment on
https://github.com/llvm/llvm-project/commit/1d6c3e29f6aa45914faa7be00a939b8f550f38e9

> so that they get an error on non-x86 targets.
> Follow-up to D151590.
>
> As a workaround for https://github.com/llvm/llvm-project/issues/63270, we don't
> report an error for -msse4.2.

This reverts commit 1d6c3e29f6aa45914faa7be00a939b8f550f38e9.




More information about the All-commits mailing list