LLVM/project e9329e7 — llvm/lib/Support KnownFPClass.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-fmul.ll

[KnownFPClass] Rule out subnormal fmul results for constant scale-ups (#246718)

A finite constant with magnitude at least 1 cannot turn a non-subnormal
input into a subnormal product. Teach `KnownFPClass::fmul` to use this
fact for constant multipliers.

I need this for a NVPTX optimization to prove it is safe to use a ftz
ex2 intrinsic call.
DeltaFile
+25-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fmul.ll
+3-1llvm/lib/Support/KnownFPClass.cpp
+28-12 files

LLVM/project 9c9354d — lldb/include/lldb lldb-enumerations.h, lldb/include/lldb/Interpreter CommandOptionArgumentTable.h

[lldb] Declare darwin-log enable options in TableGen

The --filter option of `plugin structured-data darwin-log enable` took
eArgRawInput, which describes free-form text passed after ' -- ' and so
contradicts how the option works: each --filter takes one rule, which
must be quoted if it contains spaces, and the option may be repeated.

Add eArgTypeLogFilter for a single filter rule and declare the options
of the command in TableGen like the other commands. The multi-line
description of --filter relies on newlines being escaped correctly in
the generated code. eArgRawInput is kept: command help still points at
'help raw-input' to explain the raw-input convention.

The usage line now lists the options in def name order.

Assisted-by: Claude
DeltaFile
+5-98lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
+103-0lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLogOptions.td
+5-0lldb/source/Plugins/StructuredData/DarwinLog/CMakeLists.txt
+1-0lldb/include/lldb/lldb-enumerations.h
+1-0lldb/include/lldb/Interpreter/CommandOptionArgumentTable.h
+115-985 files

LLVM/project 1344175 — lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime CMakeLists.txt AppleObjCRuntimeOptions.td

[lldb] Declare objc class-table dump options in TableGen (NFC)

Move the options of `language objc class-table dump` to a new
AppleObjCRuntimeOptions.td.

Assisted-by: Claude
DeltaFile
+4-12lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
+7-0lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/CMakeLists.txt
+7-0lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeOptions.td
+18-123 files

LLVM/project fb5d6f8 — lldb/source/Target TargetOptions.td Platform.cpp

[lldb] Declare OptionGroupPlatformCaching options in TableGen (NFC)

Move the --local-cache-dir option of OptionGroupPlatformCaching to
TargetOptions.td.

Assisted-by: Claude
DeltaFile
+3-6lldb/source/Target/Platform.cpp
+7-0lldb/source/Target/TargetOptions.td
+10-62 files

LLVM/project 5486233 — lldb/source/Target TargetOptions.td Platform.cpp

[lldb] Declare OptionGroupPlatformSSH options in TableGen (NFC)

Move the options of OptionGroupPlatformSSH to TargetOptions.td.

Assisted-by: Claude
DeltaFile
+3-8lldb/source/Target/Platform.cpp
+8-0lldb/source/Target/TargetOptions.td
+11-82 files

LLVM/project 13d6955 — lldb/source/Target CMakeLists.txt TargetOptions.td

[lldb] Declare OptionGroupPlatformRSync options in TableGen (NFC)

Add TargetOptions.td for the options of the option groups in
lldbTarget and move the options of OptionGroupPlatformRSync there.

Assisted-by: Claude
DeltaFile
+4-15lldb/source/Target/Platform.cpp
+17-0lldb/source/Target/TargetOptions.td
+5-0lldb/source/Target/CMakeLists.txt
+26-153 files

LLVM/project 90f0e7f — lldb/include/lldb lldb-enumerations.h, lldb/include/lldb/Interpreter CommandOptionArgumentTable.h

[lldb] Declare OptionGroupValueObjectDisplay options in TableGen

The --dynamic-type option takes its values from g_dynamic_value_types,
but it declared no argument type, so `help` printed "-d <none>" and
the option was not described as an enumeration.

Add eArgTypeDynamicValueType and move the value table to the argument
table, where EnumArg<"DynamicValueType"> can find it, and declare the
options of the group in InterpreterOptions.td. GetDynamicValueTypes()
had no other users and is removed; target.prefer-dynamic-value keeps
using the table directly.

`help dynamic-value-type` now lists the valid values, the usage lines
of the commands that accept -d show <dynamic-value-type> instead of
<none>, and list the options of the group in def name order.

Assisted-by: Claude
DeltaFile
+69-0lldb/source/Interpreter/InterpreterOptions.td
+9-44lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp
+0-23lldb/source/Target/Target.cpp
+20-0lldb/include/lldb/Interpreter/CommandOptionArgumentTable.h
+0-2lldb/include/lldb/Target/Target.h
+1-0lldb/include/lldb/lldb-enumerations.h
+99-696 files

LLVM/project 25d2933 — lldb/include/lldb/Interpreter CommandOptionArgumentTable.h, lldb/source/Interpreter InterpreterOptions.td OptionGroupWatchpoint.cpp

[lldb] Declare OptionGroupWatchpoint options in TableGen

Add eArgTypeWatchType to the argument table so that `help watch-type`
can find it and print the valid values.

Assisted-by: Claude
DeltaFile
+6-43lldb/source/Interpreter/OptionGroupWatchpoint.cpp
+25-1lldb/include/lldb/Interpreter/CommandOptionArgumentTable.h
+15-0lldb/test/API/commands/help/TestHelp.py
+15-0lldb/source/Interpreter/InterpreterOptions.td
+61-444 files

LLVM/project 538f095 — llvm/test/CodeGen/AMDGPU sched-initial-tie-better-latency.mir

[AMDGPU][NFC] Add a test for the latency tie-break in the initial stages (#246749)

Follow-up to #243116, which made the initial scheduling stages keep a
schedule that ties in register pressure if it has a better latency
metric.

In the test, every value defined in the region is live out of it, so the
pressures before and after scheduling are equal in any order. The ILP
initial stage hides the load latency and keeps the new schedule, which
it reverted before #243116.

Assisted-by: Cursor/Claude Opus

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+63-0llvm/test/CodeGen/AMDGPU/sched-initial-tie-better-latency.mir
+63-01 files

LLVM/project 209fcfd — lldb/include/lldb lldb-enumerations.h, lldb/include/lldb/Interpreter CommandOptionArgumentTable.h

[lldb] Declare darwin-log enable options in TableGen

The --filter option of `plugin structured-data darwin-log enable` took
eArgRawInput, which describes free-form text passed after ' -- ' and so
contradicts how the option works: each --filter takes one rule, which
must be quoted if it contains spaces, and the option may be repeated.

Add eArgTypeLogFilter for a single filter rule and declare the options
of the command in TableGen like the other commands. The multi-line
description of --filter relies on newlines being escaped correctly in
the generated code. eArgRawInput is kept: command help still points at
'help raw-input' to explain the raw-input convention.

The usage line now lists the options in def name order.

Assisted-by: Claude
DeltaFile
+5-98lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
+103-0lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLogOptions.td
+5-0lldb/source/Plugins/StructuredData/DarwinLog/CMakeLists.txt
+1-0lldb/include/lldb/lldb-enumerations.h
+1-0lldb/include/lldb/Interpreter/CommandOptionArgumentTable.h
+115-985 files

LLVM/project 89221b0 — lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime CMakeLists.txt AppleObjCRuntimeOptions.td

[lldb] Declare objc class-table dump options in TableGen (NFC)

Move the options of `language objc class-table dump` to a new
AppleObjCRuntimeOptions.td.

Assisted-by: Claude
DeltaFile
+4-12lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
+7-0lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/CMakeLists.txt
+7-0lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeOptions.td
+18-123 files

LLVM/project 0cdbdfd — lldb/source/Target TargetOptions.td Platform.cpp

[lldb] Declare OptionGroupPlatformCaching options in TableGen (NFC)

Move the --local-cache-dir option of OptionGroupPlatformCaching to
TargetOptions.td.

Assisted-by: Claude
DeltaFile
+3-6lldb/source/Target/Platform.cpp
+7-0lldb/source/Target/TargetOptions.td
+10-62 files

LLVM/project a47f24a — lldb/source/Target TargetOptions.td Platform.cpp

[lldb] Declare OptionGroupPlatformSSH options in TableGen (NFC)

Move the options of OptionGroupPlatformSSH to TargetOptions.td.

Assisted-by: Claude
DeltaFile
+3-8lldb/source/Target/Platform.cpp
+8-0lldb/source/Target/TargetOptions.td
+11-82 files

LLVM/project 6af125c — lldb/source/Target CMakeLists.txt TargetOptions.td

[lldb] Declare OptionGroupPlatformRSync options in TableGen (NFC)

Add TargetOptions.td for the options of the option groups in
lldbTarget and move the options of OptionGroupPlatformRSync there.

Assisted-by: Claude
DeltaFile
+4-15lldb/source/Target/Platform.cpp
+17-0lldb/source/Target/TargetOptions.td
+5-0lldb/source/Target/CMakeLists.txt
+26-153 files

LLVM/project 926d7fe — lldb/include/lldb lldb-enumerations.h, lldb/include/lldb/Interpreter CommandOptionArgumentTable.h

[lldb] Declare OptionGroupValueObjectDisplay options in TableGen

The --dynamic-type option takes its values from g_dynamic_value_types,
but it declared no argument type, so `help` printed "-d <none>" and
the option was not described as an enumeration.

Add eArgTypeDynamicValueType and move the value table to the argument
table, where EnumArg<"DynamicValueType"> can find it, and declare the
options of the group in InterpreterOptions.td. GetDynamicValueTypes()
had no other users and is removed; target.prefer-dynamic-value keeps
using the table directly.

`help dynamic-value-type` now lists the valid values, the usage lines
of the commands that accept -d show <dynamic-value-type> instead of
<none>, and list the options of the group in def name order.

Assisted-by: Claude
DeltaFile
+69-0lldb/source/Interpreter/InterpreterOptions.td
+9-44lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp
+0-23lldb/source/Target/Target.cpp
+20-0lldb/include/lldb/Interpreter/CommandOptionArgumentTable.h
+0-2lldb/include/lldb/Target/Target.h
+1-0lldb/include/lldb/lldb-enumerations.h
+99-696 files

LLVM/project 8fb2e0c — lldb/include/lldb/Interpreter CommandOptionArgumentTable.h, lldb/source/Interpreter InterpreterOptions.td OptionGroupWatchpoint.cpp

[lldb] Declare OptionGroupWatchpoint options in TableGen

Move the options of OptionGroupWatchpoint to InterpreterOptions.td.
The watch type enumeration moves to the argument table, where
EnumArg<"WatchType"> looks it up. As a result, `help watch-type` now
lists the valid values.

The usage lines of `watchpoint set variable` and `watchpoint set
expression` list the options in def name order.

Assisted-by: Claude
DeltaFile
+6-43lldb/source/Interpreter/OptionGroupWatchpoint.cpp
+25-1lldb/include/lldb/Interpreter/CommandOptionArgumentTable.h
+15-0lldb/source/Interpreter/InterpreterOptions.td
+46-443 files

LLVM/project 5a696b0 — lldb/source/Interpreter InterpreterOptions.td OptionGroupVariable.cpp

[lldb] Declare OptionGroupVariable options in TableGen (NFC)

GetDefinitions() omits the four frame-only options by dropping the
leading definitions. Make sure TableGen emits them first by giving
their `def`s appropriate names.

--regex options takes no argument (it is a boolean flag) but was
declared with eArgTypeRegularExpression. It is eArgTypeNone now.

Assisted-by: Claude
DeltaFile
+10-105lldb/source/Interpreter/OptionGroupVariable.cpp
+47-0lldb/source/Interpreter/InterpreterOptions.td
+57-1052 files

LLVM/project 3b9f604 — clang/lib/Driver/ToolChains MinGW.cpp

[clang][mingw] Don't link to mingwthrd (#219936)

libmingwthrd has been empty and deprecated for a long time.

See also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127135
DeltaFile
+0-2clang/lib/Driver/ToolChains/MinGW.cpp
+0-21 files

LLVM/project c11b84c — llvm/lib/Target/ARM ARMISelLowering.cpp, llvm/test/CodeGen/ARM/Windows alloca.ll

[ARM] Align dynamic allocas after __chkstk on Windows (#246289)

On Windows, LowerDYNAMIC_STACKALLOC moves SP with __chkstk but ignored
the requested alignment, so an over-aligned dynamic alloca could get a
misaligned address. Only the no-stack-arg-probe path aligned SP. Align
it after __chkstk too, as X86 does. Noticed in #240693.

Assisted-by: Claude Opus 5.5 (Anthropic)
DeltaFile
+18-0llvm/test/CodeGen/ARM/Windows/alloca.ll
+8-2llvm/lib/Target/ARM/ARMISelLowering.cpp
+26-22 files

LLVM/project 0820a2e — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

[SLP][NFC] Refactor to add SLPGraphView class (#245812)

Prepare for separating CandidateState from BoUpSLP.

AI Usage: Assisted by codex
DeltaFile
+41-25llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+41-251 files

LLVM/project 7457cbf — lldb/include/lldb lldb-enumerations.h, lldb/include/lldb/Interpreter CommandOptionArgumentTable.h

[lldb] Declare darwin-log enable options in TableGen

The --filter option of `plugin structured-data darwin-log enable` took
eArgRawInput, which describes free-form text passed after ' -- ' and so
contradicts how the option works: each --filter takes one rule, which
must be quoted if it contains spaces, and the option may be repeated.

Add eArgTypeLogFilter for a single filter rule and declare the options
of the command in TableGen like the other commands. The multi-line
description of --filter relies on newlines being escaped correctly in
the generated code. eArgRawInput is kept: command help still points at
'help raw-input' to explain the raw-input convention.

The usage line now lists the options in def name order.

Assisted-by: Claude
DeltaFile
+5-98lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
+103-0lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLogOptions.td
+5-0lldb/source/Plugins/StructuredData/DarwinLog/CMakeLists.txt
+1-0lldb/include/lldb/lldb-enumerations.h
+1-0lldb/include/lldb/Interpreter/CommandOptionArgumentTable.h
+115-985 files

LLVM/project dabe29f — lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime CMakeLists.txt AppleObjCRuntimeOptions.td

[lldb] Declare objc class-table dump options in TableGen (NFC)

Move the options of `language objc class-table dump` to a new
AppleObjCRuntimeOptions.td.

Assisted-by: Claude
DeltaFile
+4-12lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
+7-0lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/CMakeLists.txt
+7-0lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeOptions.td
+18-123 files

LLVM/project 8d4d6f1 — lldb/source/Target TargetOptions.td Platform.cpp

[lldb] Declare OptionGroupPlatformCaching options in TableGen (NFC)

Move the --local-cache-dir option of OptionGroupPlatformCaching to
TargetOptions.td.

Assisted-by: Claude
DeltaFile
+3-6lldb/source/Target/Platform.cpp
+7-0lldb/source/Target/TargetOptions.td
+10-62 files

LLVM/project 3d349d0 — lldb/source/Target TargetOptions.td Platform.cpp

[lldb] Declare OptionGroupPlatformSSH options in TableGen (NFC)

Move the options of OptionGroupPlatformSSH to TargetOptions.td.

Assisted-by: Claude
DeltaFile
+3-8lldb/source/Target/Platform.cpp
+8-0lldb/source/Target/TargetOptions.td
+11-82 files

LLVM/project 8557b4d — lldb/source/Target CMakeLists.txt TargetOptions.td

[lldb] Declare OptionGroupPlatformRSync options in TableGen (NFC)

Add TargetOptions.td for the options of the option groups in
lldbTarget and move the options of OptionGroupPlatformRSync there.

Assisted-by: Claude
DeltaFile
+4-15lldb/source/Target/Platform.cpp
+17-0lldb/source/Target/TargetOptions.td
+5-0lldb/source/Target/CMakeLists.txt
+26-153 files

LLVM/project 4c2f6b6 — lldb/include/lldb lldb-enumerations.h, lldb/include/lldb/Interpreter CommandOptionArgumentTable.h

[lldb] Declare OptionGroupValueObjectDisplay options in TableGen

The --dynamic-type option takes its values from g_dynamic_value_types,
but it declared no argument type, so `help` printed "-d <none>" and
the option was not described as an enumeration.

Add eArgTypeDynamicValueType and move the value table to the argument
table, where EnumArg<"DynamicValueType"> can find it, and declare the
options of the group in InterpreterOptions.td. GetDynamicValueTypes()
had no other users and is removed; target.prefer-dynamic-value keeps
using the table directly.

`help dynamic-value-type` now lists the valid values, the usage lines
of the commands that accept -d show <dynamic-value-type> instead of
<none>, and list the options of the group in def name order.

Assisted-by: Claude
DeltaFile
+69-0lldb/source/Interpreter/InterpreterOptions.td
+9-44lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp
+0-23lldb/source/Target/Target.cpp
+20-0lldb/include/lldb/Interpreter/CommandOptionArgumentTable.h
+0-2lldb/include/lldb/Target/Target.h
+1-0lldb/include/lldb/lldb-enumerations.h
+99-696 files

LLVM/project 6bec063 — lldb/include/lldb/Interpreter CommandOptionArgumentTable.h, lldb/source/Interpreter InterpreterOptions.td OptionGroupWatchpoint.cpp

[lldb] Declare OptionGroupWatchpoint options in TableGen

Move the options of OptionGroupWatchpoint to InterpreterOptions.td.
The watch type enumeration moves to the argument table, where
EnumArg<"WatchType"> looks it up. As a result, `help watch-type` now
lists the valid values.

The usage lines of `watchpoint set variable` and `watchpoint set
expression` list the options in def name order.

Assisted-by: Claude
DeltaFile
+6-43lldb/source/Interpreter/OptionGroupWatchpoint.cpp
+25-1lldb/include/lldb/Interpreter/CommandOptionArgumentTable.h
+15-0lldb/source/Interpreter/InterpreterOptions.td
+46-443 files

LLVM/project cb7185b — lldb/source/Interpreter InterpreterOptions.td OptionGroupVariable.cpp

[lldb] Declare OptionGroupVariable options in TableGen (NFC)

Move the options of OptionGroupVariable to InterpreterOptions.td.

GetDefinitions() omits the four frame-only options by dropping the
leading definitions. TableGen emits options sorted by def name, so the
frame-only defs are named to sort first and a static_assert checks
that they do.

--regex takes no argument but was declared with
eArgTypeRegularExpression. The argument type is only consulted for
options that take an argument, so dropping it changes nothing.

Assisted-by: Claude
DeltaFile
+10-105lldb/source/Interpreter/OptionGroupVariable.cpp
+47-0lldb/source/Interpreter/InterpreterOptions.td
+57-1052 files

LLVM/project bbc5a9b — lldb/source/Interpreter InterpreterOptions.td OptionGroupFormat.cpp

[lldb] Declare OptionGroupFormat options in TableGen

Declare the options in alphabetical order and adjust C++ counterpart
accordingly, since it relies on the order of options to "hide" some of
them. Use named positions instead of the hardcoded 0...3.

Assisted-by: Claude
DeltaFile
+26-22lldb/source/Interpreter/OptionGroupFormat.cpp
+23-0lldb/source/Interpreter/InterpreterOptions.td
+49-222 files

LLVM/project e6df012 — llvm/lib/Transforms/Vectorize VPlanConstruction.cpp

[VPlan] Inline PlainCFGBuilder::isExternalDef into its only use (NFC) (#246752)

isExternalDef is a debug-only helper used by a single assert in
getOrCreateVPOperand. Fold its check into the assert, which also removes
two #ifndef NDEBUG blocks.
DeltaFile
+5-23llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
+5-231 files