[all-commits] [llvm/llvm-project] cc7bf9: [X86] Allow 32-bit mode only CPUs with -mtune on 6...

topperc via All-commits all-commits at lists.llvm.org
Sat Aug 22 16:38:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cc7bf9bcbfbc8d8188d9fe540c2bc1aee23824af
      https://github.com/llvm/llvm-project/commit/cc7bf9bcbfbc8d8188d9fe540c2bc1aee23824af
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-08-22 (Sat, 22 Aug 2020)

  Changed paths:
    M clang/include/clang/Basic/TargetInfo.h
    M clang/lib/Basic/Targets.cpp
    M clang/lib/Basic/Targets/X86.cpp
    M clang/lib/Basic/Targets/X86.h
    M clang/test/Driver/x86-mtune.c
    M clang/test/Misc/target-invalid-cpu-note.c
    M llvm/include/llvm/Support/X86TargetParser.h

  Log Message:
  -----------
  [X86] Allow 32-bit mode only CPUs with -mtune on 64-bit targets

gcc errors on this, but I'm nervous that since -mtune has been
ignored by clang for so long that there may be code bases out
there that pass 32-bit cpus to clang.




More information about the All-commits mailing list