[PATCH] D141968: [NFC] Consolidate llvm::CodeGenOpt::Level handling
Scott Linder via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 17 14:51:22 PST 2023
scott.linder created this revision.
Herald added subscribers: ormris, steven_wu, hiraditya.
Herald added projects: Flang, All.
scott.linder requested review of this revision.
Herald added subscribers: llvm-commits, openmp-commits, cfe-commits, jdoerfert.
Herald added projects: clang, OpenMP, LLVM.
Add free functions llvm::CodeGenOpt::{getLevel,getID,parseLevel} to
provide common implementations for functionality that has been
duplicated in many places across the codebase.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D141968
Files:
clang/lib/CodeGen/BackendUtil.cpp
clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
flang/lib/Frontend/FrontendActions.cpp
llvm/include/llvm/Support/CodeGen.h
llvm/lib/LTO/LTOCodeGenerator.cpp
llvm/tools/gold/gold-plugin.cpp
llvm/tools/llc/llc.cpp
llvm/tools/lli/lli.cpp
llvm/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
llvm/tools/llvm-lto2/llvm-lto2.cpp
llvm/tools/lto/lto.cpp
openmp/libomptarget/plugins-nextgen/common/PluginInterface/JIT.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141968.489947.patch
Type: text/x-patch
Size: 15223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230117/51487906/attachment.bin>
More information about the llvm-commits
mailing list