llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-llvm-mc Author: Fangrui Song (MaskRay) <details> <summary>Changes</summary> Move RegisterMCTargetOptionsFlags options into a private `MCToolOptions` struct, different from MCCLOptions since `MCToolOptions` requires tool opt-in. RegisterMCToolOptions, renamed from RegisterMCTargetOptionsFlags (LLVMOption and clang driver use "flags" for boolean options), registers the struct, so `clang -mllvm -crel` remains an error. Remove the getters without outside readers. llc reads `MCRelaxAll` instead of `getExplicitRelaxAll`, so `-mc-relax-all=false` no longer warns with a non-object file type. LLM-aided --- Patch is 22.85 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/239920.diff 12 Files Affected: - (modified) lld/test/ELF/lto/mllvm.ll (+2-1) - (modified) llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h (+2-51) - (modified) llvm/lib/CodeGen/CommandFlags.cpp (+1-1) - (modified) llvm/lib/MC/CMakeLists.txt (+4) - (modified) llvm/lib/MC/MCTargetOptionsCommandFlags.cpp (+34-218) - (added) llvm/lib/MC/MCToolOptions.td (+64) - (modified) llvm/test/MC/Hexagon/nowarn.s (+1) - (modified) llvm/tools/llc/lib/llcdriver.cpp (+1-2) - (modified) llvm/tools/llvm-mc/llvm-mc.cpp (+1-1) - (modified) llvm/tools/llvm-mca/llvm-mca.cpp (+1-1) - (modified) llvm/utils/gn/secondary/llvm/lib/MC/BUILD.gn (+6) - (modified) utils/bazel/llvm-project-overlay/llvm/BUILD.bazel (+10) ``````````diff diff --git a/lld/test/ELF/lto/mllvm.ll b/lld/test/ELF/lto/mllvm.ll index 69489ee4e5153b..41e144a8c9fa05 100644 --- a/lld/test/ELF/lto/mllvm.ll +++ b/lld/test/ELF/lto/mllvm.ll @@ -8,7 +8,7 @@ ; RUN: ld.lld %t.o -o %t -plugin-opt=-debug-pass=Structure -plugin-opt=-print-after-all 2>&1 | FileCheck %s ;; -mllvm reaches per-context library options. -; RUN: ld.lld %t.o -o %t2 --lto-emit-asm -mllvm -x86-asm-syntax=intel +; RUN: ld.lld %t.o -o %t2 --lto-emit-asm -mllvm -x86-asm-syntax=intel -mllvm -asm-show-inst ; RUN: FileCheck %s --check-prefix=INTEL < %t2.lto.s ; CHECK: Pass Arguments: @@ -17,6 +17,7 @@ ; DISASM: nopw ; INTEL: .intel_syntax +; INTEL: <MCInst target triple = "x86_64-unknown-linux-gnu" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h b/llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h index 34fe189255ff54..87eb39817bff37 100644 --- a/llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h +++ b/llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h @@ -15,14 +15,10 @@ #define LLVM_MC_MCTARGETOPTIONSCOMMANDFLAGS_H #include "llvm/Support/Compiler.h" -#include <optional> -#include <string> namespace llvm { class MCTargetOptions; -enum class RelocSectionSymType; -enum class EmitDwarfUnwindType; class StringRef; namespace cl { @@ -31,57 +27,12 @@ class LibraryOptionsContext; namespace mc { -LLVM_ABI bool getRelaxAll(); -LLVM_ABI std::optional<bool> getExplicitRelaxAll(); - -LLVM_ABI bool getIncrementalLinkerCompatible(); - -LLVM_ABI bool getFDPIC(); - -LLVM_ABI int getDwarfVersion(); - -LLVM_ABI bool getDwarf64(); - -LLVM_ABI EmitDwarfUnwindType getEmitDwarfUnwind(); - -LLVM_ABI bool getEmitCompactUnwindNonCanonical(); - -LLVM_ABI bool getEmitSFrameUnwind(); - -LLVM_ABI bool getShowMCInst(); - -LLVM_ABI bool getFatalWarnings(); - -LLVM_ABI bool getNoWarn(); - -LLVM_ABI bool getNoDeprecatedWarn(); - -LLVM_ABI bool getNoTypeCheck(); - -LLVM_ABI bool getSaveTempLabels(); - -LLVM_ABI bool getCrel(); - -LLVM_ABI bool getImplicitMapSyms(); - -LLVM_ABI bool getX86RelaxRelocations(); - -LLVM_ABI bool getX86Sse2Avx(); - -LLVM_ABI bool getDisableIntegratedAS(); - -LLVM_ABI RelocSectionSymType getRelocSectionSym(); - -LLVM_ABI bool getLargeEHEncoding(); - LLVM_ABI StringRef getABIName(const cl::LibraryOptionsContext &C); -LLVM_ABI StringRef getAsSecureLogFile(); - /// Create this object with static storage to register mc-related command /// line options. -struct RegisterMCTargetOptionsFlags { - LLVM_ABI RegisterMCTargetOptionsFlags(); +struct RegisterMCToolOptions { + LLVM_ABI RegisterMCToolOptions(); }; LLVM_ABI MCTargetOptions getMCTargetOptions(const cl::LibraryOptionsContext &C); diff --git a/llvm/lib/CodeGen/CommandFlags.cpp b/llvm/lib/CodeGen/CommandFlags.cpp index cb352f15d9ef9a..e6d059acda0455 100644 --- a/llvm/lib/CodeGen/CommandFlags.cpp +++ b/llvm/lib/CodeGen/CommandFlags.cpp @@ -468,7 +468,7 @@ codegen::RegisterCodeGenFlags::RegisterCodeGenFlags() { cl::init(false)); CGBINDOPT(XCOFFReadOnlyPointers); - mc::RegisterMCTargetOptionsFlags(); + mc::RegisterMCToolOptions(); } codegen::RegisterMTuneFlag::RegisterMTuneFlag() { diff --git a/llvm/lib/MC/CMakeLists.txt b/llvm/lib/MC/CMakeLists.txt index 5c2fda10ca28cb..e7ae0672624ee8 100644 --- a/llvm/lib/MC/CMakeLists.txt +++ b/llvm/lib/MC/CMakeLists.txt @@ -2,6 +2,9 @@ set(LLVM_TABLEGEN_PROJECT LLVM_HEADERS) set(LLVM_TARGET_DEFINITIONS MCCLOptions.td) llvm_tablegen(MCCLOptions.inc -gen-opt-parser-defs) add_public_tablegen_target(MCCLOptionsTableGen) +set(LLVM_TARGET_DEFINITIONS MCToolOptions.td) +llvm_tablegen(MCToolOptions.inc -gen-opt-parser-defs) +add_public_tablegen_target(MCToolOptionsTableGen) add_llvm_component_library(LLVMMC ConstantPools.cpp @@ -91,6 +94,7 @@ add_llvm_component_library(LLVMMC DEPENDS MCCLOptionsTableGen + MCToolOptionsTableGen intrinsics_gen llvm_vcsrevision_h ) diff --git a/llvm/lib/MC/MCTargetOptionsCommandFlags.cpp b/llvm/lib/MC/MCTargetOptionsCommandFlags.cpp index 90b3ef196f04f4..e8c4a7ef8e7442 100644 --- a/llvm/lib/MC/MCTargetOptionsCommandFlags.cpp +++ b/llvm/lib/MC/MCTargetOptionsCommandFlags.cpp @@ -13,236 +13,52 @@ #include "llvm/MC/MCTargetOptionsCommandFlags.h" #include "llvm/MC/MCTargetOptions.h" -#include "llvm/Support/CommandLine.h" +#include "llvm/Option/LibraryOptions.h" using namespace llvm; -#define MCOPT(TY, NAME) \ - static cl::opt<TY> *NAME##View; \ - TY llvm::mc::get##NAME() { \ - assert(NAME##View && "RegisterMCTargetOptionsFlags not created."); \ - return *NAME##View; \ - } +#define OPTIONS_STRUCT_DECL +#include "MCToolOptions.inc" -#define MCSTROPT(NAME) \ - static cl::opt<std::string> *NAME##View; \ - StringRef llvm::mc::get##NAME() { \ - assert(NAME##View && "RegisterMCTargetOptionsFlags not created."); \ - return *NAME##View; \ - } +#define OPTIONS_STRUCT_DEFS +#include "MCToolOptions.inc" -#define MCOPT_EXP(TY, NAME) \ - MCOPT(TY, NAME) \ - std::optional<TY> llvm::mc::getExplicit##NAME() { \ - if (NAME##View->getNumOccurrences()) { \ - TY res = *NAME##View; \ - return res; \ - } \ - return std::nullopt; \ - } - -MCOPT_EXP(bool, RelaxAll) -MCOPT(bool, IncrementalLinkerCompatible) -MCOPT(bool, FDPIC) -MCOPT(int, DwarfVersion) -MCOPT(bool, Dwarf64) -MCOPT(EmitDwarfUnwindType, EmitDwarfUnwind) -MCOPT(bool, EmitCompactUnwindNonCanonical) -MCOPT(bool, EmitSFrameUnwind) -MCOPT(bool, ShowMCInst) -MCOPT(bool, FatalWarnings) -MCOPT(bool, NoWarn) -MCOPT(bool, NoDeprecatedWarn) -MCOPT(bool, NoTypeCheck) -MCOPT(bool, SaveTempLabels) -MCOPT(bool, Crel) -MCOPT(bool, ImplicitMapSyms) -MCOPT(bool, X86RelaxRelocations) -MCOPT(bool, X86Sse2Avx) -MCOPT(bool, DisableIntegratedAS) -MCOPT(RelocSectionSymType, RelocSectionSym) -MCOPT(bool, LargeEHEncoding) -MCSTROPT(AsSecureLogFile) - -static cl::opt<std::string> *ABINameView; -StringRef llvm::mc::getABIName(const cl::LibraryOptionsContext &) { - assert(ABINameView && "RegisterMCTargetOptionsFlags not created."); - return *ABINameView; +llvm::mc::RegisterMCToolOptions::RegisterMCToolOptions() { + static opt::RegisterLibraryOptions<MCToolOptions> Registration; } -llvm::mc::RegisterMCTargetOptionsFlags::RegisterMCTargetOptionsFlags() { -#define MCBINDOPT(NAME) \ - do { \ - NAME##View = std::addressof(NAME); \ - } while (0) - - static cl::opt<bool> RelaxAll( - "mc-relax-all", cl::desc("When used with filetype=obj, relax all fixups " - "in the emitted object file")); - MCBINDOPT(RelaxAll); - - static cl::opt<bool> IncrementalLinkerCompatible( - "incremental-linker-compatible", - cl::desc( - "When used with filetype=obj, " - "emit an object file which can be used with an incremental linker")); - MCBINDOPT(IncrementalLinkerCompatible); - - static cl::opt<bool> FDPIC("fdpic", cl::desc("Use the FDPIC ABI")); - MCBINDOPT(FDPIC); - - static cl::opt<int> DwarfVersion("dwarf-version", cl::desc("Dwarf version"), - cl::init(0)); - MCBINDOPT(DwarfVersion); - - static cl::opt<bool> Dwarf64( - "dwarf64", - cl::desc("Generate debugging info in the 64-bit DWARF format")); - MCBINDOPT(Dwarf64); - - static cl::opt<EmitDwarfUnwindType> EmitDwarfUnwind( - "emit-dwarf-unwind", cl::desc("Whether to emit DWARF EH frame entries."), - cl::init(EmitDwarfUnwindType::Default), - cl::values(clEnumValN(EmitDwarfUnwindType::Always, "always", - "Always emit EH frame entries"), - clEnumValN(EmitDwarfUnwindType::NoCompactUnwind, - "no-compact-unwind", - "Only emit EH frame entries when compact unwind is " - "not available"), - clEnumValN(EmitDwarfUnwindType::DwarfOnly, "dwarf-only", - "Force compact unwind to reference DWARF"), - clEnumValN(EmitDwarfUnwindType::Default, "default", - "Use target platform default"))); - MCBINDOPT(EmitDwarfUnwind); - - static cl::opt<bool> EmitCompactUnwindNonCanonical( - "emit-compact-unwind-non-canonical", - cl::desc( - "Whether to try to emit Compact Unwind for non canonical entries."), - cl::init( - false)); // By default, use DWARF for non-canonical personalities. - MCBINDOPT(EmitCompactUnwindNonCanonical); - - static cl::opt<bool> EmitSFrameUnwind( - "gsframe", cl::desc("Whether to emit .sframe unwind sections."), - cl::init(false)); - MCBINDOPT(EmitSFrameUnwind); - - static cl::opt<bool> ShowMCInst( - "asm-show-inst", - cl::desc("Emit internal instruction representation to assembly file")); - MCBINDOPT(ShowMCInst); - - static cl::opt<bool> FatalWarnings("fatal-warnings", - cl::desc("Treat warnings as errors")); - MCBINDOPT(FatalWarnings); - - static cl::opt<bool> NoWarn("no-warn", cl::desc("Suppress all warnings")); - static cl::alias NoWarnW("W", cl::desc("Alias for --no-warn"), - cl::aliasopt(NoWarn)); - MCBINDOPT(NoWarn); - - static cl::opt<bool> NoDeprecatedWarn( - "no-deprecated-warn", cl::desc("Suppress all deprecated warnings")); - MCBINDOPT(NoDeprecatedWarn); - - static cl::opt<bool> NoTypeCheck( - "no-type-check", cl::desc("Suppress type errors (Wasm)")); - MCBINDOPT(NoTypeCheck); - - static cl::opt<bool> SaveTempLabels( - "save-temp-labels", cl::desc("Don't discard temporary labels")); - MCBINDOPT(SaveTempLabels); - - static cl::opt<bool> Crel("crel", - cl::desc("Use CREL relocation format for ELF")); - MCBINDOPT(Crel); - - static cl::opt<bool> ImplicitMapSyms( - "implicit-mapsyms", - cl::desc("Allow mapping symbol at section beginning to be implicit, " - "lowering number of mapping symbols at the expense of some " - "portability. Recommended for projects that can build all their " - "object files using this option")); - MCBINDOPT(ImplicitMapSyms); - - static cl::opt<bool> X86RelaxRelocations( - "x86-relax-relocations", - cl::desc("Emit GOTPCRELX/REX_GOTPCRELX/CODE_4_GOTPCRELX instead of " - "GOTPCREL on x86-64 ELF"), - cl::init(true)); - MCBINDOPT(X86RelaxRelocations); - - static cl::opt<bool> X86Sse2Avx( - "x86-sse2avx", cl::desc("Specify that the assembler should encode SSE " - "instructions with VEX prefix")); - MCBINDOPT(X86Sse2Avx); - - static cl::opt<bool> DisableIntegratedAS( - "no-integrated-as", cl::desc("Disable integrated assembler"), - cl::init(false)); - MCBINDOPT(DisableIntegratedAS); - - static cl::opt<RelocSectionSymType> RelocSectionSym( - "reloc-section-sym", - cl::desc("Control section symbol conversion for relocations"), - cl::init(RelocSectionSymType::All), - cl::values( - clEnumValN(RelocSectionSymType::All, "all", - "Use section symbols for all eligible local symbols"), - clEnumValN(RelocSectionSymType::Internal, "internal", - "Only use section symbols for internal local symbols"), - clEnumValN(RelocSectionSymType::None, "none", - "Never use section symbols"))); - MCBINDOPT(RelocSectionSym); - - static cl::opt<bool> LargeEHEncoding( - "large-eh-encoding", - cl::desc("Force 8-byte (sdata8) pointer encodings for ELF " - "exception-handling sections to avoid relocation overflows in " - "large binaries (x86_64: FDE/personality/LSDA/TType; " - "AArch64/PPC64: FDE only, the rest are already sdata8)")); - MCBINDOPT(LargeEHEncoding); - - static cl::opt<std::string> ABIName( - "target-abi", - cl::desc("The name of the ABI to be targeted from the backend."), - cl::init("")); - MCBINDOPT(ABIName); - - static cl::opt<std::string> AsSecureLogFile( - "as-secure-log-file", cl::desc("As secure log file name"), cl::Hidden); - MCBINDOPT(AsSecureLogFile); - -#undef MCBINDOPT +StringRef llvm::mc::getABIName(const cl::LibraryOptionsContext &C) { + return C.get<MCToolOptions>().target_abi; } MCTargetOptions llvm::mc::getMCTargetOptions(const cl::LibraryOptionsContext &C) { + const MCToolOptions &Opts = C.get<MCToolOptions>(); MCTargetOptions Options; - Options.MCRelaxAll = getRelaxAll(); - Options.MCIncrementalLinkerCompatible = getIncrementalLinkerCompatible(); - Options.FDPIC = getFDPIC(); - Options.Dwarf64 = getDwarf64(); - Options.DwarfVersion = getDwarfVersion(); - Options.ShowMCInst = getShowMCInst(); - Options.ABIName = getABIName(C); - Options.MCFatalWarnings = getFatalWarnings(); - Options.MCNoWarn = getNoWarn(); - Options.MCNoDeprecatedWarn = getNoDeprecatedWarn(); - Options.MCNoTypeCheck = getNoTypeCheck(); - Options.MCSaveTempLabels = getSaveTempLabels(); - Options.Crel = getCrel(); - Options.ImplicitMapSyms = getImplicitMapSyms(); - Options.X86RelaxRelocations = getX86RelaxRelocations(); - Options.X86Sse2Avx = getX86Sse2Avx(); - Options.DisableIntegratedAS = getDisableIntegratedAS(); - Options.RelocSectionSym = getRelocSectionSym(); - Options.LargeEHEncoding = getLargeEHEncoding(); - Options.EmitDwarfUnwind = getEmitDwarfUnwind(); - Options.EmitCompactUnwindNonCanonical = getEmitCompactUnwindNonCanonical(); - Options.EmitSFrameUnwind = getEmitSFrameUnwind(); - Options.AsSecureLogFile = getAsSecureLogFile(); + Options.MCRelaxAll = Opts.mc_relax_all; + Options.MCIncrementalLinkerCompatible = Opts.incremental_linker_compatible; + Options.FDPIC = Opts.fdpic; + Options.Dwarf64 = Opts.dwarf64; + Options.DwarfVersion = Opts.dwarf_version; + Options.ShowMCInst = Opts.asm_show_inst; + Options.ABIName = Opts.target_abi; + Options.MCFatalWarnings = Opts.fatal_warnings; + Options.MCNoWarn = Opts.no_warn; + Options.MCNoDeprecatedWarn = Opts.no_deprecated_warn; + Options.MCNoTypeCheck = Opts.no_type_check; + Options.MCSaveTempLabels = Opts.save_temp_labels; + Options.Crel = Opts.crel; + Options.ImplicitMapSyms = Opts.implicit_mapsyms; + Options.X86RelaxRelocations = Opts.x86_relax_relocations; + Options.X86Sse2Avx = Opts.x86_sse2avx; + Options.DisableIntegratedAS = Opts.no_integrated_as; + Options.RelocSectionSym = Opts.reloc_section_sym; + Options.LargeEHEncoding = Opts.large_eh_encoding; + Options.EmitDwarfUnwind = Opts.emit_dwarf_unwind; + Options.EmitCompactUnwindNonCanonical = + Opts.emit_compact_unwind_non_canonical; + Options.EmitSFrameUnwind = Opts.gsframe; + Options.AsSecureLogFile = Opts.as_secure_log_file; return Options; } diff --git a/llvm/lib/MC/MCToolOptions.td b/llvm/lib/MC/MCToolOptions.td new file mode 100644 index 00000000000000..d35c0d57519004 --- /dev/null +++ b/llvm/lib/MC/MCToolOptions.td @@ -0,0 +1,64 @@ +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +include "llvm/Option/LibraryOptions.td" + +def MCToolOptions : OptionsStruct; + +defm : ValueField<"as-secure-log-file", "StringRef", "", + "As secure log file name">; +defm : BoolField<"asm-show-inst", "false", + "Emit internal instruction representation to assembly file">; +defm : BoolField<"crel", "false", + "Use CREL relocation format for ELF">; +defm : ValueField<"dwarf-version", "int", "0", + "Dwarf version">; +defm : BoolField<"dwarf64", "false", + "Generate debugging info in the 64-bit DWARF format">; +// By default, use DWARF for non-canonical personalities. +defm : BoolField<"emit-compact-unwind-non-canonical", "false", + "Whether to try to emit Compact Unwind for non canonical entries">; +defm : EnumField<"emit-dwarf-unwind", "EmitDwarfUnwindType", "EmitDwarfUnwindType::Default", + "always,no-compact-unwind,dwarf-only,default", + ["EmitDwarfUnwindType::Always", "EmitDwarfUnwindType::NoCompactUnwind", "EmitDwarfUnwindType::DwarfOnly", "EmitDwarfUnwindType::Default"], + "Whether to emit DWARF EH frame entries">; +defm : BoolField<"fatal-warnings", "false", + "Treat warnings as errors">; +defm : BoolField<"fdpic", "false", + "Use the FDPIC ABI">; +defm : BoolField<"gsframe", "false", + "Whether to emit .sframe unwind sections">; +defm : BoolField<"implicit-mapsyms", "false", + "Allow mapping symbol at section beginning to be implicit, lowering number of mapping symbols at the expense of some portability. Recommended for projects that can build all their object files using this option">; +defm : BoolField<"incremental-linker-compatible", "false", + "When used with filetype=obj, emit an object file which can be used with an incremental linker">; +defm : BoolField<"large-eh-encoding", "false", + "Force 8-byte (sdata8) pointer encodings for ELF exception-handling sections to avoid relocation overflows in large binaries (x86_64: FDE/personality/LSDA/TType; AArch64/PPC64: FDE only, the rest are already sdata8)">; +defm : BoolField<"mc-relax-all", "false", + "When used with filetype=obj, relax all fixups in the emitted object file">; +defm : BoolField<"no-deprecated-warn", "false", + "Suppress all deprecated warnings">; +defm : BoolField<"no-integrated-as", "false", + "Disable integrated assembler">; +defm : BoolField<"no-type-check", "false", + "Suppress type errors (Wasm)">; +defm : BoolField<"no-warn", "false", + "Suppress all warnings">; +def : AliasOf<"W", "no-warn">; +defm : EnumField<"reloc-section-sym", "RelocSectionSymType", "RelocSectionSymType::All", + "all,internal,none", + ["RelocSectionSymType::All", "RelocSectionSymType::Internal", "RelocSectionSymType::None"], + "Control section symbol conversion for relocations">; +defm : BoolField<"save-temp-labels", "false", + "Don't discard temporary labels">; +defm : ValueField<"target-abi", "StringRef", "", + "The name of the ABI to be targeted from the backend">; +defm : BoolField<"x86-relax-relocations", "true", + "Emit GOTPCRELX/REX_GOTPCRELX/CODE_4_GOTPCRELX instead of GOTPCREL on x86-64 ELF">; +defm : BoolField<"x86-sse2avx", "false", + "Specify that the assembler should encode SSE instructions with VEX prefix">; diff --git a/llvm/test/MC/Hexagon/nowarn.s b/llvm/test/MC/Hexagon/nowarn.s index ed0d7ddabd2694..471ca84845e800 100644 --- a/llvm/test/MC/Hexagon/nowarn.s +++ b/llvm/test/MC/Hexagon/nowarn.s @@ -1,5 +1,6 @@ # RUN: llvm-mc -triple=hexagon -mhvx --filetype=asm %s -o - 2>&1 | FileCheck %s # RUN: llvm-mc --no-warn -triple=hexagon -mhvx --filetype=obj %s -o - | llvm-objdump -d - | FileCheck --check-prefix=CHECK-NOWARN %s +# RUN: llvm-mc -W -triple=hexagon -mhvx --filetype=null %s 2>&1 | count 0 # RUN: not llvm-mc --fatal-warnings -triple=hexagon -mhvx --filetype=asm %s 2>&1 | FileCheck --check-prefix=CHECK-FATAL-WARN %s .text diff --git a/llvm/tools/llc/lib/llcdriver.cpp b/llvm/tools/llc/lib/llcdriver.cpp index 8cd358340dc0f2..d5f5c73593617d 100644 --- a/llvm/tools/llc/lib/llcdriver.cpp +++ b/llvm/tools/llc/lib/llcdriver.cpp @@ -38,7 +38,6 @@ #include "llvm/IR/Verifier.h" #include "llvm/IRReader/IRReader.h" #include "llvm/InitializePas... [truncated] `````````` </details> https://github.com/llvm/llvm-project/pull/239920 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
