Skip to content

Commit 500059e

Browse files
committed
Hide new LLVM 21 cmdline options
1 parent c0bf5db commit 500059e

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

driver/cl_options.cpp

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -849,10 +849,12 @@ void hideLLVMOptions() {
849849
"amdgpu-indirect-call-specialization-threshold",
850850
"amdgpu-kernarg-preload-count", "amdgpu-module-splitting-max-depth",
851851
"amdgpu-promote-alloca-to-vector-limit",
852+
"amdgpu-promote-alloca-to-vector-max-regs",
853+
"amdgpu-promote-alloca-to-vector-vgpr-ratio",
852854
"amdgpu-reserve-vgpr-for-sgpr-spill", "amdgpu-sdwa-peephole",
853855
"amdgpu-use-aa-in-codegen", "amdgpu-verify-hsa-metadata",
854-
"amdgpu-vgpr-index-mode", "argext-abi-check",
855-
"arm-add-build-attributes",
856+
"amdgpu-vgpr-index-mode", "arc-contract-use-objc-claim-rv",
857+
"argext-abi-check", "arm-add-build-attributes",
856858
"arm-implicit-it", "asm-instrumentation", "asm-show-inst",
857859
"atomic-counter-update-promoted", "atomic-first-counter",
858860
"basic-block-address-map", "basic-block-sections",
@@ -861,10 +863,10 @@ void hideLLVMOptions() {
861863
"cfg-hide-deoptimize-paths", "cfg-hide-unreachable-paths",
862864
"check-functions-filter", "code-model", "conditional-counter-update",
863865
"cost-kind", "cppfname", "cppfor", "cppgen", "crel",
864-
"cvp-dont-add-nowrap-flags",
866+
"ctx-profile-force-is-specialized", "cvp-dont-add-nowrap-flags",
865867
"cvp-dont-process-adds", "debug-counter", "debug-entry-values",
866-
"debugger-tune", "debugify-func-limit", "debugify-level",
867-
"debugify-quiet", "debug-info-correlate",
868+
"debugger-tune", "debugify-atoms", "debugify-func-limit",
869+
"debugify-level", "debugify-quiet", "debug-info-correlate",
868870
"denormal-fp-math", "denormal-fp-math-f32",
869871
"disable-auto-upgrade-debug-info", "disable-debug-info-verifier",
870872
"disable-i2p-p2i-opt",
@@ -873,7 +875,7 @@ void hideLLVMOptions() {
873875
"disable-spill-fusing",
874876
"do-counter-promotion", "dot-cfg-mssa", "dwarf64", "emit-call-site-info",
875877
"emit-compact-unwind-non-canonical", "emit-dwarf-unwind",
876-
"emscripten-cxx-exceptions-allowed",
878+
"emit-gnuas-syntax-on-zos", "emscripten-cxx-exceptions-allowed",
877879
"emscripten-cxx-exceptions-whitelist",
878880
"emulated-tls", "enable-approx-func-fp-math", "enable-correct-eh-support",
879881
"enable-cse-in-irtranslator", "enable-cse-in-legalizer",
@@ -911,7 +913,9 @@ void hideLLVMOptions() {
911913
"instcombine-maxarray-size", "instcombine-negator-enabled",
912914
"instcombine-negator-max-depth", "instcombine-unsafe-select-transform",
913915
"instrprof-atomic-counter-update-all", "internalize-public-api-file",
914-
"internalize-public-api-list", "iterative-counter-promotion",
916+
"internalize-public-api-list", "intrinsic-cost-strategy",
917+
"ir2vec-arg-weight", "ir2vec-opc-weight", "ir2vec-type-weight",
918+
"ir2vec-vocab-path", "iterative-counter-promotion",
915919
"join-liveintervals", "jump-table-type", "large-data-threshold",
916920
"limit-float-precision", "lint-abort-on-error", "loongarch-use-aa",
917921
"lower-allow-check-percentile-cutoff-hot",
@@ -924,12 +928,15 @@ void hideLLVMOptions() {
924928
"merror-noncontigious-register", "mfuture-regs", "mhvx",
925929
"mips-compact-branches", "mips16-constant-islands", "mips16-hard-float",
926930
"mir-strip-debugify-only", "misexpect-tolerance", "mlsm", "mno-compound",
927-
"mno-fixup", "mno-ldc1-sdc1", "mno-pairing", "mwarn-missing-parenthesis",
931+
"mno-fixup", "mno-ldc1-sdc1", "mno-pairing",
932+
"ms-secure-hotpatch-functions-file", "ms-secure-hotpatch-functions-list",
933+
"mwarn-missing-parenthesis",
928934
"mwarn-noncontigious-register", "mwarn-sign-mismatch", "mxcoff-roptr",
929935
"no-discriminators", "no-integrated-as", "no-type-check", "no-xray-index",
930936
"nozero-initialized-in-bss", "nvptx-approx-log2f32", "nvptx-sched4reg",
931937
"objc-arc-annotation-target-identifier",
932938
"object-size-offset-visitor-max-visit-instructions",
939+
"partition-static-data-sections",
933940
"pgo-block-coverage", "pgo-temporal-instrumentation",
934941
"pgo-view-block-coverage-graph",
935942
"pie-copy-relocations", "poison-checking-function-local",
@@ -982,6 +989,7 @@ void hideLLVMOptions() {
982989
"wholeprogramdevirt-cutoff", "write-experimental-debuginfo",
983990
"x86-align-branch", "x86-align-branch-boundary",
984991
"x86-branches-within-32B-boundaries", "x86-early-ifcvt",
992+
"x86-enable-apx-for-relocation",
985993
"x86-pad-max-prefix-size", "x86-recip-refinement-steps",
986994
"x86-relax-relocations", "x86-sse2avx", "x86-use-vzeroupper",
987995
"xcoff-traceback-table", "xray-function-index",

0 commit comments

Comments
 (0)