Skip to content

Commit 5157eca

Browse files
authored
Merge pull request #5102 from kinke/llvm22
Bump LDC-LLVM to v22.1.2
2 parents 8f9d3f9 + 768b169 commit 5157eca

28 files changed

+11626
-63
lines changed

.github/actions/1-setup/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ runs:
2626
packages=( \
2727
git-core cmake g++ \
2828
libcurl4 libzstd-dev \
29-
curl gdb p7zip-full tzdata unzip zip python3-pip \
29+
curl gdb p7zip-full zstd tzdata unzip zip python3-pip \
3030
)
3131
if [[ $arch == x86_64 ]]; then
3232
packages+=(g++-multilib libcurl4:i386)
@@ -71,7 +71,7 @@ runs:
7171
run: |
7272
set -eux
7373
cd ..
74-
version='${{ inputs.clang_major }}.1.8'
74+
version='${{ inputs.clang_major }}.1.2'
7575
curl -fL --retry 3 --max-time 300 -o clang.exe \
7676
https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/LLVM-$version-win64.exe
7777
./clang.exe //S # double-slash for bash
@@ -115,11 +115,11 @@ runs:
115115
elif [[ '${{ runner.os }}' == macOS ]]; then
116116
os=osx
117117
fi
118-
curl -fL --retry 3 --max-time 300 -o llvm.tar.xz \
119-
https://github.com/ldc-developers/llvm-project/releases/download/$tag/llvm-$version-$os-$arch$assertsSuffix.tar.xz
118+
curl -fL --retry 3 --max-time 300 -o llvm.tar.zst \
119+
https://github.com/ldc-developers/llvm-project/releases/download/$tag/llvm-$version-$os-$arch$assertsSuffix.tar.zst
120120
mkdir llvm
121-
tar -xf llvm.tar.xz --strip 1 -C llvm
122-
rm llvm.tar.xz
121+
tar -xf llvm.tar.zst --zstd --strip 1 -C llvm
122+
rm llvm.tar.zst
123123
fi
124124
125125
llvm/bin/llvm-config --version

.github/actions/3-build-cross/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ runs:
4545
fi
4646
fi
4747
48-
curl -fL --retry 3 --max-time 300 -o llvm-cross.tar.xz \
49-
https://github.com/ldc-developers/llvm-project/releases/download/$tag/llvm-$version-${{ inputs.os }}-${{ inputs.arch }}$assertsSuffix.tar.xz
48+
curl -fL --retry 3 --max-time 300 -o llvm-cross.tar.zst \
49+
https://github.com/ldc-developers/llvm-project/releases/download/$tag/llvm-$version-${{ inputs.os }}-${{ inputs.arch }}$assertsSuffix.tar.zst
5050
mkdir llvm-cross
51-
tar -xf llvm-cross.tar.xz --strip 1 -C llvm-cross
52-
rm llvm-cross.tar.xz
51+
tar -xf llvm-cross.tar.zst --zstd --strip 1 -C llvm-cross
52+
rm llvm-cross.tar.zst
5353
5454
- name: Make non-native llvm-config runnable on host
5555
shell: bash

.github/actions/3-build-cross/android-llvm-config.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ Typical components:
4343
version=@LLVM_VERSION@
4444
prefix=@LLVM_INSTALL_DIR@
4545
has_rtti=NO
46-
CPPFLAGS="-I${prefix}/include -DEXPERIMENTAL_KEY_INSTRUCTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS"
46+
CPPFLAGS="-I${prefix}/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS"
4747
CFLAGS="${CPPFLAGS} ${CFLAGS}"
4848
CXXFLAGS="${CFLAGS} -std=c++17 --stdlib=libc++ -fno-exceptions -funwind-tables"
4949
if [ "$has_rtti" != "YES" ]; then CXXFLAGS="$CXXFLAGS -fno-rtti"; fi
5050
LDFLAGS="-L${prefix}/lib"
5151
LIBFILE="${prefix}/lib/libLLVM-$version.so"
5252

53-
components="aarch64 aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils aggressiveinstcombine all all-targets analysis arm armasmparser armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter binaryformat bitreader bitstreamreader bitwriter cfguard cgdata codegen codegentypes core coroutines coverage debuginfobtf debuginfocodeview debuginfodwarf debuginfodwarflowlevel debuginfogsym debuginfologicalview debuginfomsf debuginfopdb demangle dlltooldriver dwarfcfichecker dwarflinker dwarflinkerclassic dwarflinkerparallel dwp engine executionengine extensions filecheck frontendatomic frontenddirective frontenddriver frontendhlsl frontendoffloading frontendopenacc frontendopenmp fuzzercli fuzzmutate globalisel hipstdpar instcombine instrumentation interfacestub interpreter ipo irprinter irreader jitlink libdriver lineeditor linker lto mc mca mcdisassembler mcjit mcparser mirparser native nativecodegen objcarcopts objcopy object objectyaml option orcdebugging orcjit orcshared orctargetprocess passes profiledata remarks runtimedyld sandboxir scalaropts selectiondag spirv spirvanalysis spirvcodegen spirvdesc spirvinfo support symbolize tablegen target targetparser telemetry textapi textapibinaryreader transformutils vectorize webassembly webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo webassemblyutils windowsdriver windowsmanifest x86 x86asmparser x86codegen x86desc x86disassembler x86info x86targetmca xray"
54-
static_libs="-lLLVMWindowsManifest -lLLVMXRay -lLLVMLibDriver -lLLVMDlltoolDriver -lLLVMTelemetry -lLLVMTextAPIBinaryReader -lLLVMCoverage -lLLVMLineEditor -lLLVMX86TargetMCA -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMX86Desc -lLLVMX86Info -lLLVMWebAssemblyDisassembler -lLLVMWebAssemblyAsmParser -lLLVMWebAssemblyCodeGen -lLLVMWebAssemblyUtils -lLLVMWebAssemblyDesc -lLLVMWebAssemblyInfo -lLLVMSPIRVCodeGen -lLLVMSPIRVDesc -lLLVMSPIRVInfo -lLLVMSPIRVAnalysis -lLLVMARMDisassembler -lLLVMARMAsmParser -lLLVMARMCodeGen -lLLVMARMDesc -lLLVMARMUtils -lLLVMARMInfo -lLLVMAArch64Disassembler -lLLVMAArch64AsmParser -lLLVMAArch64CodeGen -lLLVMAArch64Desc -lLLVMAArch64Utils -lLLVMAArch64Info -lLLVMOrcDebugging -lLLVMOrcJIT -lLLVMWindowsDriver -lLLVMMCJIT -lLLVMJITLink -lLLVMInterpreter -lLLVMExecutionEngine -lLLVMRuntimeDyld -lLLVMOrcTargetProcess -lLLVMOrcShared -lLLVMDWP -lLLVMDWARFCFIChecker -lLLVMDebugInfoLogicalView -lLLVMOption -lLLVMObjCopy -lLLVMMCA -lLLVMMCDisassembler -lLLVMLTO -lLLVMPasses -lLLVMHipStdPar -lLLVMCFGuard -lLLVMCoroutines -lLLVMipo -lLLVMVectorize -lLLVMSandboxIR -lLLVMLinker -lLLVMFrontendOpenMP -lLLVMFrontendOffloading -lLLVMObjectYAML -lLLVMFrontendOpenACC -lLLVMFrontendHLSL -lLLVMFrontendDriver -lLLVMInstrumentation -lLLVMFrontendDirective -lLLVMFrontendAtomic -lLLVMExtensions -lLLVMDWARFLinkerParallel -lLLVMDWARFLinkerClassic -lLLVMDWARFLinker -lLLVMGlobalISel -lLLVMMIRParser -lLLVMAsmPrinter -lLLVMSelectionDAG -lLLVMCodeGen -lLLVMTarget -lLLVMObjCARCOpts -lLLVMCodeGenTypes -lLLVMCGData -lLLVMIRPrinter -lLLVMInterfaceStub -lLLVMFileCheck -lLLVMFuzzMutate -lLLVMScalarOpts -lLLVMInstCombine -lLLVMAggressiveInstCombine -lLLVMTransformUtils -lLLVMBitWriter -lLLVMAnalysis -lLLVMProfileData -lLLVMSymbolize -lLLVMDebugInfoBTF -lLLVMDebugInfoPDB -lLLVMDebugInfoMSF -lLLVMDebugInfoCodeView -lLLVMDebugInfoGSYM -lLLVMDebugInfoDWARF -lLLVMDebugInfoDWARFLowLevel -lLLVMObject -lLLVMTextAPI -lLLVMMCParser -lLLVMIRReader -lLLVMAsmParser -lLLVMMC -lLLVMBitReader -lLLVMFuzzerCLI -lLLVMCore -lLLVMRemarks -lLLVMBitstreamReader -lLLVMBinaryFormat -lLLVMTargetParser -lLLVMTableGen -lLLVMSupport -lLLVMDemangle"
53+
components="aarch64 aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils abi aggressiveinstcombine all all-targets analysis arm armasmparser armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter binaryformat bitreader bitstreamreader bitwriter cas cfguard cgdata codegen codegentypes core coroutines coverage debuginfobtf debuginfocodeview debuginfodwarf debuginfodwarflowlevel debuginfogsym debuginfologicalview debuginfomsf debuginfopdb demangle dlltooldriver dtlto dwarfcfichecker dwarflinker dwarflinkerclassic dwarflinkerparallel dwp engine executionengine extensions filecheck frontendatomic frontenddirective frontenddriver frontendhlsl frontendoffloading frontendopenacc frontendopenmp fuzzercli fuzzmutate globalisel hipstdpar instcombine instrumentation interfacestub interpreter ipo irprinter irreader jitlink libdriver lineeditor linker lto mc mca mcdisassembler mcjit mcparser mirparser native nativecodegen objcarcopts objcopy object objectyaml option orcdebugging orcjit orcshared orctargetprocess passes plugins profiledata remarks runtimedyld sandboxir scalaropts selectiondag spirv spirvanalysis spirvcodegen spirvdesc spirvinfo support supportlsp symbolize tablegen target targetparser telemetry textapi textapibinaryreader transformutils vectorize webassembly webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo webassemblyutils windowsdriver windowsmanifest x86 x86asmparser x86codegen x86desc x86disassembler x86info x86targetmca xray"
54+
static_libs="-lLLVMWindowsManifest -lLLVMXRay -lLLVMLibDriver -lLLVMDlltoolDriver -lLLVMTelemetry -lLLVMTextAPIBinaryReader -lLLVMCoverage -lLLVMLineEditor -lLLVMX86TargetMCA -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMX86Desc -lLLVMX86Info -lLLVMWebAssemblyDisassembler -lLLVMWebAssemblyAsmParser -lLLVMWebAssemblyCodeGen -lLLVMWebAssemblyUtils -lLLVMWebAssemblyDesc -lLLVMWebAssemblyInfo -lLLVMSPIRVCodeGen -lLLVMSPIRVDesc -lLLVMSPIRVInfo -lLLVMSPIRVAnalysis -lLLVMARMDisassembler -lLLVMARMAsmParser -lLLVMARMCodeGen -lLLVMARMDesc -lLLVMARMUtils -lLLVMARMInfo -lLLVMAArch64Disassembler -lLLVMAArch64AsmParser -lLLVMAArch64CodeGen -lLLVMAArch64Desc -lLLVMAArch64Utils -lLLVMAArch64Info -lLLVMOrcDebugging -lLLVMOrcJIT -lLLVMWindowsDriver -lLLVMMCJIT -lLLVMJITLink -lLLVMInterpreter -lLLVMExecutionEngine -lLLVMRuntimeDyld -lLLVMOrcTargetProcess -lLLVMOrcShared -lLLVMDWP -lLLVMDWARFCFIChecker -lLLVMDebugInfoLogicalView -lLLVMOption -lLLVMObjCopy -lLLVMMCA -lLLVMMCDisassembler -lLLVMDTLTO -lLLVMLTO -lLLVMPlugins -lLLVMPasses -lLLVMHipStdPar -lLLVMCFGuard -lLLVMCoroutines -lLLVMipo -lLLVMVectorize -lLLVMSandboxIR -lLLVMLinker -lLLVMFrontendOpenMP -lLLVMFrontendOffloading -lLLVMObjectYAML -lLLVMFrontendOpenACC -lLLVMFrontendDriver -lLLVMInstrumentation -lLLVMFrontendDirective -lLLVMFrontendAtomic -lLLVMExtensions -lLLVMDWARFLinkerParallel -lLLVMDWARFLinkerClassic -lLLVMDWARFLinker -lLLVMGlobalISel -lLLVMMIRParser -lLLVMAsmPrinter -lLLVMSelectionDAG -lLLVMCodeGen -lLLVMTarget -lLLVMObjCARCOpts -lLLVMCodeGenTypes -lLLVMCGData -lLLVMCAS -lLLVMIRPrinter -lLLVMInterfaceStub -lLLVMFileCheck -lLLVMFuzzMutate -lLLVMScalarOpts -lLLVMInstCombine -lLLVMAggressiveInstCombine -lLLVMTransformUtils -lLLVMBitWriter -lLLVMAnalysis -lLLVMProfileData -lLLVMSymbolize -lLLVMDebugInfoBTF -lLLVMDebugInfoPDB -lLLVMDebugInfoMSF -lLLVMDebugInfoCodeView -lLLVMDebugInfoGSYM -lLLVMDebugInfoDWARF -lLLVMObject -lLLVMTextAPI -lLLVMMCParser -lLLVMIRReader -lLLVMAsmParser -lLLVMMC -lLLVMDebugInfoDWARFLowLevel -lLLVMBitReader -lLLVMFrontendHLSL -lLLVMFuzzerCLI -lLLVMABI -lLLVMCore -lLLVMRemarks -lLLVMBitstreamReader -lLLVMBinaryFormat -lLLVMTargetParser -lLLVMTableGen -lLLVMSupportLSP -lLLVMSupport -lLLVMDemangle"
5555
shared_libs="-lLLVM-$version"
5656
libs=$static_libs
5757
handle_args () {

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
env:
17-
LLVM_VERSION: 21.1.8
18-
CLANG_MAJOR: 21
17+
LLVM_VERSION: 22.1.2
18+
CLANG_MAJOR: 22
1919

2020
jobs:
2121
build-native:

.github/workflows/supported_llvm_versions.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
include:
22+
- job_name: macOS 14, LLVM 21, latest LDC beta
23+
os: macos-14
24+
host_dc: ldc-beta
25+
llvm_version: 21
26+
cmake_flags: -DBUILD_SHARED_LIBS=OFF -DRT_SUPPORT_SANITIZERS=ON
2227
- job_name: Ubuntu 24.04, LLVM 20, bootstrap LDC
2328
os: ubuntu-24.04
2429
host_dc: ldc-1.19.0

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# LDC master
22

33
#### Big news
4+
- Support for [LLVM 22](https://releases.llvm.org/22.1.0/docs/ReleaseNotes.html). The prebuilt packages use v22.1.2. (#5097, #5102)
45
- Minimum LLVM version raised to 18. (#5094)
56
- Predefined version `LDC_LLVM_*` now only contains the LLVM major version, i.e., former `version (LDC_LLVM_1801)` with LLVM v18.1 is now `version (LDC_LLVM_18)`. Use `ldc.intrinsics.LLVM_version` for backwards compatibility if really needed. (#5109)
67

78
#### Platform support
8-
- Supports LLVM 18 - 21.
9+
- Supports LLVM 18 - 22.
910

1011
#### Bug fixes
1112

CMakeLists.txt

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -562,19 +562,17 @@ if(MSVC)
562562
endif()
563563
endif()
564564
if(LDC_WITH_LLD)
565-
if(MSVC)
566-
list(APPEND LDC_LINKERFLAG_LIST LLVMSymbolize.lib)
567-
else()
568-
set(LDC_LINKERFLAG_LIST -lLLVMSymbolize ${LDC_LINKERFLAG_LIST})
565+
if(LLVM_VERSION_MAJOR GREATER 21)
566+
if(MSVC)
567+
list(APPEND LDC_LINKERFLAG_LIST LLVMDTLTO.lib)
568+
else()
569+
set(LDC_LINKERFLAG_LIST -lLLVMDTLTO ${LDC_LINKERFLAG_LIST})
570+
endif()
569571
endif()
570572
if(MSVC)
571-
list(APPEND LDC_LINKERFLAG_LIST lldMinGW.lib lldCOFF.lib lldELF.lib lldMachO.lib lldWasm.lib lldCommon.lib)
573+
list(APPEND LDC_LINKERFLAG_LIST lldMinGW.lib lldCOFF.lib lldELF.lib lldMachO.lib lldWasm.lib lldCommon.lib LLVMSymbolize.lib)
572574
else()
573-
set(LDC_LINKERFLAG_LIST -llldMinGW -llldCOFF -llldELF -llldMachO -llldWasm -llldCommon ${LDC_LINKERFLAG_LIST})
574-
endif()
575-
if(APPLE)
576-
# LLD 13.0.0 on Mac needs libxar
577-
list(APPEND LDC_LINKERFLAG_LIST -lxar)
575+
set(LDC_LINKERFLAG_LIST -llldMinGW -llldCOFF -llldELF -llldMachO -llldWasm -llldCommon -lLLVMSymbolize ${LDC_LINKERFLAG_LIST})
578576
endif()
579577
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
580578
# FreeBSD LLVM port links to zstd, but does not convey this information via CMake

driver/cl_options.cpp

Lines changed: 32 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,8 @@ void hideLLVMOptions() {
856856
"amdgpu-enable-global-sgpr-addr", "amdgpu-enable-merge-m0",
857857
"amdgpu-enable-power-sched", "amdgpu-igrouplp",
858858
"amdgpu-indirect-call-specialization-threshold",
859-
"amdgpu-kernarg-preload-count", "amdgpu-module-splitting-max-depth",
859+
"amdgpu-kernarg-preload", "amdgpu-kernarg-preload-count",
860+
"amdgpu-module-splitting-max-depth",
860861
"amdgpu-promote-alloca-to-vector-limit",
861862
"amdgpu-promote-alloca-to-vector-max-regs",
862863
"amdgpu-promote-alloca-to-vector-vgpr-ratio",
@@ -866,28 +867,33 @@ void hideLLVMOptions() {
866867
"argext-abi-check", "arm-add-build-attributes",
867868
"arm-implicit-it", "asm-instrumentation", "asm-show-inst",
868869
"atomic-counter-update-promoted", "atomic-first-counter",
869-
"basic-block-address-map", "basic-block-sections",
870+
"basic-block-address-map", "basic-block-section-match-infer",
871+
"basic-block-sections",
870872
"basicblock-sections", "bounds-checking-single-trap",
871-
"bounds-checking-unique-traps", "bpf-stack-size", "cfg-hide-cold-paths",
873+
"bounds-checking-unique-traps", "bpf-stack-size",
874+
"call-graph-section", "cfg-hide-cold-paths",
872875
"cfg-hide-deoptimize-paths", "cfg-hide-unreachable-paths",
873876
"check-functions-filter", "code-model", "conditional-counter-update",
874877
"cost-kind", "cppfname", "cppfor", "cppgen", "crel",
875878
"ctx-profile-force-is-specialized", "cvp-dont-add-nowrap-flags",
876879
"cvp-dont-process-adds", "debug-counter", "debug-entry-values",
877880
"debugger-tune", "debugify-atoms", "debugify-func-limit",
878881
"debugify-level", "debugify-quiet", "debug-info-correlate",
879-
"denormal-fp-math", "denormal-fp-math-f32",
882+
"denormal-fp-math", "denormal-fp-math-f32", "devirtualize-speculatively",
880883
"disable-auto-upgrade-debug-info", "disable-debug-info-verifier",
881884
"disable-i2p-p2i-opt",
882885
"disable-objc-arc-checkforcfghazards", "disable-promote-alloca-to-lds",
883-
"disable-promote-alloca-to-vector", "disable-slp-vectorization",
886+
"disable-promote-alloca-to-vector", "disable-qfp-opt",
887+
"disable-qfp-opt-mul", "disable-slp-vectorization",
884888
"disable-spill-fusing",
885-
"do-counter-promotion", "dot-cfg-mssa", "dwarf64", "emit-call-site-info",
889+
"do-counter-promotion", "dot-cfg-mssa", "dwarf64",
890+
"elide-all-zero-branch-weights", "emit-bb-hash", "emit-call-site-info",
886891
"emit-compact-unwind-non-canonical", "emit-dwarf-unwind",
887892
"emit-gnuas-syntax-on-zos", "emscripten-cxx-exceptions-allowed",
888893
"emscripten-cxx-exceptions-whitelist",
889894
"emulated-tls", "enable-approx-func-fp-math", "enable-correct-eh-support",
890895
"enable-cse-in-irtranslator", "enable-cse-in-legalizer",
896+
"enable-devirtualize-speculatively",
891897
"enable-emscripten-cxx-exceptions", "enable-emscripten-sjlj",
892898
"enable-fp-mad", "enable-gvn-hoist", "enable-gvn-memdep",
893899
"enable-gvn-memoryssa",
@@ -898,7 +904,8 @@ void hideLLVMOptions() {
898904
"enable-no-nans-fp-math", "enable-no-signed-zeros-fp-math",
899905
"enable-no-trapping-fp-math", "enable-objc-arc-annotations",
900906
"enable-objc-arc-opts", "enable-pgo-force-function-attrs",
901-
"enable-pie", "enable-scoped-noalias",
907+
"enable-pie", "enable-poison-reuse-guard",
908+
"enable-scoped-noalias",
902909
"enable-split-backedge-in-load-pre", "enable-split-loopiv-heuristic",
903910
"enable-tbaa", "enable-tlsdesc", "enable-unsafe-fp-math",
904911
"enable-vtable-profile-use", "enable-vtable-value-profiling",
@@ -910,8 +917,8 @@ void hideLLVMOptions() {
910917
"force-dwarf-frame-section", "force-opaque-pointers",
911918
"force-tail-folding-style",
912919
"fs-profile-debug-bw-threshold", "fs-profile-debug-prob-diff-threshold",
913-
"generate-merged-base-profiles",
914-
"gpsize", "hash-based-counter-split", "hexagon-add-build-attributes",
920+
"generate-merged-base-profiles", "gpsize", "gsframe",
921+
"hash-based-counter-split", "hexagon-add-build-attributes",
915922
"hexagon-rdf-limit", "hot-cold-split", "hwasan-percentile-cutoff-hot",
916923
"hwasan-random-rate", "ignore-xcoff-visibility",
917924
"imp-null-check-page-size", "imp-null-max-insts-to-consider",
@@ -923,7 +930,8 @@ void hideLLVMOptions() {
923930
"instcombine-negator-max-depth", "instcombine-unsafe-select-transform",
924931
"instrprof-atomic-counter-update-all", "internalize-public-api-file",
925932
"internalize-public-api-list", "intrinsic-cost-strategy",
926-
"ir2vec-arg-weight", "ir2vec-opc-weight", "ir2vec-type-weight",
933+
"ir2vec-arg-weight", "ir2vec-kind", "ir2vec-opc-weight",
934+
"ir2vec-type-weight",
927935
"ir2vec-vocab-path", "iterative-counter-promotion",
928936
"join-liveintervals", "jump-table-type", "large-data-threshold",
929937
"limit-float-precision", "lint-abort-on-error", "loongarch-use-aa",
@@ -936,7 +944,10 @@ void hideLLVMOptions() {
936944
"memop-size-large", "memop-size-range", "merror-missing-parenthesis",
937945
"merror-noncontigious-register", "mfuture-regs", "mhvx",
938946
"mips-compact-branches", "mips16-constant-islands", "mips16-hard-float",
939-
"mir-strip-debugify-only", "misexpect-tolerance", "mlsm", "mno-compound",
947+
"mir-strip-debugify-only",
948+
"mir2vec-common-operand-weight", "mir2vec-kind", "mir2vec-opc-weight",
949+
"mir2vec-reg-operand-weight", "mir2vec-vocab-path",
950+
"misexpect-tolerance", "mlsm", "mno-compound",
940951
"mno-fixup", "mno-ldc1-sdc1", "mno-pairing",
941952
"ms-secure-hotpatch-functions-file", "ms-secure-hotpatch-functions-list",
942953
"mwarn-missing-parenthesis",
@@ -952,10 +963,15 @@ void hideLLVMOptions() {
952963
"polly-dump-after", "polly-dump-after-file", "polly-dump-before",
953964
"polly-dump-before-file", "pre-RA-sched", "print-after-all",
954965
"print-before-all", "print-machineinstrs", "print-module-scope",
955-
"print-pipeline-passes", "profile-correlate",
966+
"print-pipeline-passes",
967+
"profcheck-annotate-select", "profcheck-default-function-entry-count",
968+
"profcheck-default-select-false-weight",
969+
"profcheck-default-select-true-weight", "profcheck-weights-for-test",
970+
"profile-correlate",
956971
"profile-estimator-loop-weight", "profile-estimator-loop-weight",
957972
"profile-file", "profile-info-file", "profile-verifier-noassert",
958-
"promote-alloca-vector-loop-user-weight", "pseudo-probe-for-profiling",
973+
"promote-alloca-vector-loop-user-weight", "propeller-infer-threshold",
974+
"pseudo-probe-for-profiling",
959975
"r600-ir-structurize", "rdf-dump", "rdf-limit", "recip", "regalloc",
960976
"relax-elf-relocations", "remarks-section", "rewrite-map-file",
961977
"riscv-add-build-attributes", "riscv-use-aa", "rng-seed",
@@ -970,11 +986,12 @@ void hideLLVMOptions() {
970986
"skip-ret-exit-block",
971987
"speculative-counter-promotion-max-exiting",
972988
"speculative-counter-promotion-to-loop", "spiller", "spirv-debug",
989+
"spirv-emit-op-names",
973990
"spirv-erase-cl-md", "spirv-ext", "spirv-lower-const-expr",
974991
"spirv-mem2reg",
975992
"spirv-no-deref-attr", "spirv-text", "spirv-verify-regularize-passes",
976-
"split-machine-functions", "spv-dump-deps",
977-
"spv-emit-nonsemantic-debug-info",
993+
"split-machine-functions", "spv-allow-unknown-intrinsics",
994+
"spv-dump-deps", "spv-emit-nonsemantic-debug-info",
978995
"spv-lower-saddwithoverflow-validate", "spvbool-validate",
979996
"spvmemmove-validate", "stack-alignment", "stack-protector-guard",
980997
"stack-protector-guard-offset", "stack-protector-guard-reg",

0 commit comments

Comments
 (0)