From fa0540eb37bf2a0fed9bb3a07f94456205742e88 Mon Sep 17 00:00:00 2001 From: Martin Kinkelin Date: Fri, 29 Mar 2024 15:43:44 +0100 Subject: [PATCH] Hide some new LLVM 18 CLI options --- driver/cl_options.cpp | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/driver/cl_options.cpp b/driver/cl_options.cpp index 96c67d2f138..4cec62a46ba 100644 --- a/driver/cl_options.cpp +++ b/driver/cl_options.cpp @@ -811,15 +811,15 @@ void hideLLVMOptions() { "amdgpu-dump-hsa-metadata", "amdgpu-enable-flat-scratch", "amdgpu-enable-global-sgpr-addr", "amdgpu-enable-merge-m0", "amdgpu-enable-power-sched", "amdgpu-igrouplp", - "amdgpu-promote-alloca-to-vector-limit", + "amdgpu-kernarg-preload-count", "amdgpu-promote-alloca-to-vector-limit", "amdgpu-reserve-vgpr-for-sgpr-spill", "amdgpu-sdwa-peephole", "amdgpu-use-aa-in-codegen", "amdgpu-verify-hsa-metadata", "amdgpu-vgpr-index-mode", "arm-add-build-attributes", "arm-implicit-it", "asm-instrumentation", "asm-show-inst", "atomic-counter-update-promoted", "atomic-first-counter", "basic-block-sections", - "basicblock-sections", "bounds-checking-single-trap", "bpf-stack-size", - "cfg-hide-cold-paths", + "basicblock-sections", "bounds-checking-single-trap", + "bounds-checking-unique-traps", "bpf-stack-size", "cfg-hide-cold-paths", "cfg-hide-deoptimize-paths", "cfg-hide-unreachable-paths", "code-model", "cost-kind", "cppfname", "cppfor", "cppgen", "cvp-dont-add-nowrap-flags", @@ -847,10 +847,11 @@ void hideLLVMOptions() { "enable-no-nans-fp-math", "enable-no-signed-zeros-fp-math", "enable-no-trapping-fp-math", "enable-objc-arc-annotations", "enable-objc-arc-opts", "enable-pie", "enable-scoped-noalias", - "enable-split-backedge-in-load-pre", - "enable-tbaa", "enable-unsafe-fp-math", "exception-model", - "exhaustive-register-search", "expensive-combines", + "enable-split-backedge-in-load-pre", "enable-split-loopiv-heuristic", + "enable-tbaa", "enable-tlsdesc", "enable-unsafe-fp-math", + "exception-model", "exhaustive-register-search", "expensive-combines", "experimental-debug-variable-locations", + "experimental-debuginfo-iterators", "fatal-assembler-warnings", "filter-print-funcs", "force-dwarf-frame-section", "force-opaque-pointers", "force-tail-folding-style", @@ -867,8 +868,8 @@ void hideLLVMOptions() { "instcombine-negator-max-depth", "instcombine-unsafe-select-transform", "instrprof-atomic-counter-update-all", "internalize-public-api-file", "internalize-public-api-list", "iterative-counter-promotion", - "join-liveintervals", "jump-table-type", "limit-float-precision", - "lower-global-dtors-via-cxa-atexit", + "join-liveintervals", "jump-table-type", "large-data-threshold", + "limit-float-precision", "lower-global-dtors-via-cxa-atexit", "lto-embed-bitcode", "matrix-default-layout", "matrix-print-after-transpose-opt", "matrix-propagate-shape", "max-counter-promotions", "max-counter-promotions-per-loop", @@ -881,20 +882,21 @@ void hideLLVMOptions() { "mwarn-noncontigious-register", "mwarn-sign-mismatch", "mxcoff-roptr", "no-discriminators", "no-integrated-as", "no-type-check", "no-xray-index", "nozero-initialized-in-bss", "nvptx-sched4reg", - "objc-arc-annotation-target-identifier", "opaque-pointers", + "objc-arc-annotation-target-identifier", + "object-size-offset-visitor-max-visit-instructions", "opaque-pointers", "pgo-block-coverage", "pgo-temporal-instrumentation", "pgo-view-block-coverage-graph", "pie-copy-relocations", "poison-checking-function-local", "polly-dump-after", "polly-dump-after-file", "polly-dump-before", "polly-dump-before-file", "pre-RA-sched", "print-after-all", "print-before-all", "print-machineinstrs", "print-module-scope", - "print-pipeline-passes", + "print-pipeline-passes", "profile-correlate", "profile-estimator-loop-weight", "profile-estimator-loop-weight", "profile-file", "profile-info-file", "profile-verifier-noassert", "pseudo-probe-for-profiling", "r600-ir-structurize", "rdf-dump", "rdf-limit", "recip", "regalloc", "relax-elf-relocations", "remarks-section", "rewrite-map-file", - "riscv-add-build-attributes", "rng-seed", + "riscv-add-build-attributes", "riscv-use-aa", "rng-seed", "runtime-counter-relocation", "safepoint-ir-verifier-print-only", "sample-profile-check-record-coverage", "sample-profile-check-sample-coverage",