[all-commits] [llvm/llvm-project] 1dfede: Move CodeGenFileType enum to Support/CodeGen.h

Reid Kleckner via All-commits all-commits at lists.llvm.org
Wed Nov 13 16:44:29 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1dfede3122eec83b885d788553e3620806d54650
      https://github.com/llvm/llvm-project/commit/1dfede3122eec83b885d788553e3620806d54650
  Author: Reid Kleckner <rnk at google.com>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst
    M llvm/examples/Kaleidoscope/Chapter8/toy.cpp
    M llvm/include/llvm/CodeGen/CommandFlags.inc
    M llvm/include/llvm/CodeGen/ParallelCG.h
    M llvm/include/llvm/LTO/Config.h
    M llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h
    M llvm/include/llvm/Support/CodeGen.h
    M llvm/include/llvm/Target/TargetMachine.h
    M llvm/lib/CodeGen/ParallelCG.cpp
    M llvm/lib/LTO/LTOCodeGenerator.cpp
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
    M llvm/lib/Target/TargetMachineC.cpp
    M llvm/tools/gold/gold-plugin.cpp
    M llvm/tools/llc/llc.cpp
    M llvm/tools/llvm-exegesis/lib/Assembler.cpp
    M llvm/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
    M polly/lib/CodeGen/PPCGCodeGeneration.cpp

  Log Message:
  -----------
  Move CodeGenFileType enum to Support/CodeGen.h

Avoids the need to include TargetMachine.h from various places just for
an enum. Various other enums live here, such as the optimization level,
TLS model, etc. Data suggests that this change probably doesn't matter,
but it seems nice to have anyway.




More information about the All-commits mailing list