[all-commits] [llvm/llvm-project] a42787: [clang] Add -mlarge-data-threshold for x86_64 medi...

Arthur Eubanks via All-commits all-commits at lists.llvm.org
Tue Sep 26 09:44:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a42787d10854fe2fdaca019634aed03adebcb864
      https://github.com/llvm/llvm-project/commit/a42787d10854fe2fdaca019634aed03adebcb864
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/include/clang/Basic/TargetOptions.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    A clang/test/CodeGen/large-data-threshold.c
    A clang/test/Driver/large-data-threshold.c

  Log Message:
  -----------
  [clang] Add -mlarge-data-threshold for x86_64 medium code model (#66839)

Error if not used with x86_64.
Warn if not used with the medium code model (can update if other code
models end up using this).

Set TargetMachine option and add module flag.




More information about the All-commits mailing list