[all-commits] [llvm/llvm-project] 291922: [Driver] Delete -mimplicit-it=

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue May 18 10:57:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2919222d8017f2425a85765b95e4b7c6f8e70ca4
      https://github.com/llvm/llvm-project/commit/2919222d8017f2425a85765b95e4b7c6f8e70ca4
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    R clang/test/Driver/arm-implicit-it.s
    M clang/test/Driver/arm-target-as-mimplicit-it.s
    M clang/test/Driver/as-options.s

  Log Message:
  -----------
  [Driver] Delete -mimplicit-it=

This is a GNU as and Clang cc1as option, not a GCC option.
Users should specify `-Wa,-mimplicit-it=` instead.

Note: mixing the -m option and the -Wa, option doesn't work
`-Wa,-mimplicit-it=never -mimplicit-it=always` =>
`clang (LLVM option parsing): for the --arm-implicit-it option: may only occur zero or one times!`

Reviewed By: nickdesaulniers, raj.khem

Differential Revision: https://reviews.llvm.org/D102568




More information about the All-commits mailing list