[all-commits] [llvm/llvm-project] c5faba: [X86][Driver] Move mno-gather/mno-scatter from m_x...

Phoebe Wang via All-commits all-commits at lists.llvm.org
Wed Sep 6 03:08:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5fabaccef5a8566bd65a6f242be65d75096bea8
      https://github.com/llvm/llvm-project/commit/c5fabaccef5a8566bd65a6f242be65d75096bea8
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2023-09-06 (Wed, 06 Sep 2023)

  Changed paths:
    M clang/include/clang/Driver/Options.td

  Log Message:
  -----------
  [X86][Driver] Move mno-gather/mno-scatter from m_x86_Features_Group to m_Group. NFCI (#65457)

m_x86_Features_Group always turn `mno-xxxx` into `-target-feature
-xxxx`. In this case, we don't have `-gather/-scatter` but
`+prefer-no-gather/scatter`.

This patch solves unexpected warning when using
`mno-gather/mno-scatter`:
```
'-gather' is not a recognized feature for this target (ignoring feature)
'-scatter' is not a recognized feature for this target (ignoring feature)
```




More information about the All-commits mailing list