diff options
author | Nikita Popov <npopov@redhat.com> | 2025-09-02 09:10:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-02 09:10:45 +0200 |
commit | 8f59a946740bf8dbe2574b33eaa431fde3ce9204 (patch) | |
tree | 2845ae7a19b9a2cd5c74dad1e13a1da9c0c4579b /llvm/lib/Support/CommandLine.cpp | |
parent | 74b9484fd62d6be9bc49e154800ceef0d74ef24f (diff) | |
download | llvm-8f59a946740bf8dbe2574b33eaa431fde3ce9204.zip llvm-8f59a946740bf8dbe2574b33eaa431fde3ce9204.tar.gz llvm-8f59a946740bf8dbe2574b33eaa431fde3ce9204.tar.bz2 |
[IR] Remove options to make scalable TypeSize access a warning (#156336)
This removes the `LLVM_ENABLE_STRICT_FIXED_SIZE_VECTORS` cmake option
and the `-treat-scalable-fixed-error-as-warning` opt flag.
We stopped treating these as warnings by default a long time ago
(62f09d788f9fc540db12f3cfa2f98760071fca96), so I don't think it makes
sense to retain these options at this point. Accessing a scalable
TypeSize as fixed should always result in an error.
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r-- | llvm/lib/Support/CommandLine.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index 8491633..be232f5 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/lib/Support/CommandLine.cpp @@ -2671,7 +2671,6 @@ static void initCommonOptions() { initSignalsOptions(); initStatisticOptions(); initTimerOptions(); - initTypeSizeOptions(); initWithColorOptions(); initDebugOptions(); initRandomSeedOptions(); |