[PATCH] D141057: Introduce and use codegen::createTargetMachineForTriple()

Alexander Richardson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 6 05:12:11 PST 2023


arichardson created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
arichardson added reviewers: efriedma, mehdi_amini, lebedev.ri, nikic.
arichardson published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141057

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141057.486566.patch
Type: text/x-patch
Size: 9782 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230106/b211b472/attachment.bin>


More information about the llvm-commits mailing list