[all-commits] [llvm/llvm-project] a8f861: Introduce and use codegen::createTargetMachineForT...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Wed Oct 4 13:45:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8f8613dec435cfb78bf202c392f2acf150a5937
      https://github.com/llvm/llvm-project/commit/a8f8613dec435cfb78bf202c392f2acf150a5937
  Author: Alex Richardson <alexrichardson at google.com>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/CommandFlags.h
    M llvm/lib/CodeGen/CommandFlags.cpp
    M llvm/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
    M llvm/tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
    M llvm/tools/llvm-reduce/ReducerWorkItem.cpp
    M llvm/tools/opt/opt.cpp

  Log Message:
  -----------
  Introduce and use codegen::createTargetMachineForTriple()

This creates a TargetMachine with the default options (from the command
line flags). This allows us to share a bit more code between tools.

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




More information about the All-commits mailing list