[qt/clang/llvm-project]: Summary of bulk changes made

KDE Git Services - Bulk Change <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git repository change summary for qt/clang/llvm-project
Pushed by mirror-service into branch 'upstream/users/ergawy/lower-fir-switch-to-cf-2'.
Changed from 0000000000000000000000000000000000000000 to 07ce5aaf62eb2ec7dc446236af0c079301d48103
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit e1f93b045410f3872d3524d91d71ba5eceda0030 by GitHub (on behalf of Matt Arsenault) on 30/07/2026 at 05:28..
MSP430: Mark more generic libgcc functions as available (#212927)

The generic soft-float, conversion, comparison and integer helper
routines (__addsf3, __divli's __divsi3, __ashlsi3, ...) exist in the
MSP430 libgcc port alongside the preferred __mspabi_* variants. They 
were previously removed to force selection of the __mspabi_* names, back 
when only one implementation per libcall could be recorded.

Stop hiding them: only __lshrsi3 stays excluded, since the MSP430 libgcc
port provides the 32-bit logical right shift solely under __mspabi_srll
and never defines a generic __lshrsi3.

Repost of #210962

Co-authored-by: Claude (Claude-Opus-4.8) <[email protected]>
https://invent.kde.org/qt/clang/llvm-project/-/commit/e1f93b045410f3872d3524d91d71ba5eceda0030

Git commit 7330a8ddc106483031a67d5a74215fc3e1509905 by GitHub (on behalf of Matt Arsenault) on 30/07/2026 at 05:42..
AMDGPU: TableGen subarch to major subarch table (#212605)

Replace the hand-written AMDGPUMajorFamilies array with a
generated lookup table. Adds a special case for the major
arches missing a concrete generic target definition (we probably
should just define those to avoid this).

Co-authored-by: Claude (Claude-Opus-4.8)
https://invent.kde.org/qt/clang/llvm-project/-/commit/7330a8ddc106483031a67d5a74215fc3e1509905

Git commit 26d08c22c68bbb9e644012c4e5cae32f68d897cb by GitHub (on behalf of saloni-shinde-Q) on 30/07/2026 at 05:53..
[RISCV][MC] Improve FPR Error Messages (#212492)

This patch improves the error messages for the following register classes:
    
   1. FPR RegClasses (FPR16, FPR32, FPR64, FPR128, FPR256)
   2. Compressed FPR RegClasses (FPR16C, FPR32C, FPR64C)
   3. GPR-as-FPR classes used by Zfinx/Zdinx extensions (GPRAsFPR16, GPRAsFPR32, GPRF64AsFPR, GPRPairAsFPR).

---------

Co-authored-by: Saloni Shinde <[email protected]>
https://invent.kde.org/qt/clang/llvm-project/-/commit/26d08c22c68bbb9e644012c4e5cae32f68d897cb

Git commit b42621f842571a92cec2961fa5c4fc518d4ca91a by GitHub (on behalf of Matt Arsenault) on 30/07/2026 at 06:50..
AMDGPU: TableGen the subarch to processor name mapping table (#212606)

Replace the hand-written AMDGPUSubArchNames array (SubArch -> canonical
GPU name) with a generated table.

Co-authored-by: Claude (Claude-Opus-4.8)
https://invent.kde.org/qt/clang/llvm-project/-/commit/b42621f842571a92cec2961fa5c4fc518d4ca91a

Git commit 23a22244b099a9950a5f265460e392bc44beb3b4 by GitHub (on behalf of Pengcheng Wang) on 30/07/2026 at 06:50..
[RISCV][MC] Support experimental Zilx extension

This adds the MC support for `Zilx` (Indexed Integer Load Instructions)
extension.

Doc: https://github.com/riscv/riscv-zilx

Reviewers: topperc, tclin914, kito-cheng

Pull Request: https://github.com/llvm/llvm-project/pull/209419
https://invent.kde.org/qt/clang/llvm-project/-/commit/23a22244b099a9950a5f265460e392bc44beb3b4

Git commit 8a1ff7feefc5825cc10349b8946fe555f435d53b by GitHub (on behalf of Pengcheng Wang) on 30/07/2026 at 06:52..
[RISCV] Support CodeGen of Zilx extension

Thanks for `XTheadMemIdx` extension that makes life easier.

Reviewers: lukel97, topperc, kito-cheng, tclin914

Reviewed By: topperc

Pull Request: https://github.com/llvm/llvm-project/pull/209420
https://invent.kde.org/qt/clang/llvm-project/-/commit/8a1ff7feefc5825cc10349b8946fe555f435d53b

Git commit b84c5f4abcfb464e362bcd2b8eb58ef96ecbae9d by GitHub (on behalf of Fangrui Song) on 30/07/2026 at 07:16..
[BFI] Simplify/optimize getMass/getContainingLoop. NFC (#212938)

A block can head both a natural loop and the irreducible loop wrapping
it (`@crossloops` in BlockFrequencyInfo/irreducible.ll).

getContainingLoop and getMass unroll to a fixed depth of two through
isDoubleLoopHeader and isADoublePackage.  Depth two holds because
IrreducibleGraph::addEdge drops edges into the enclosing loop's headers,
keeping such a header out of any nested SCC.

(The old comment "If it's a node inside a packaged loop, it returns the
loop's mass." is wrong.)

Walk the Parent chain instead to drop the depth two assumption. Testing
`IsPackaged` before isHeader also skips the Nodes[0] load on the common
path.
https://invent.kde.org/qt/clang/llvm-project/-/commit/b84c5f4abcfb464e362bcd2b8eb58ef96ecbae9d

Git commit de26036ecb4b450e5e1bdc49ee7101e3ce294bc4 by GitHub (on behalf of Matt Arsenault) on 30/07/2026 at 07:36..
AMDGPU: Eliminate old macro driven processor name parsing (#212608)

Previously the generated inc file had a series of macros for use
with StringSwitch; now just directly scan the generated name table.

Co-authored-by: Claude (Claude-Opus-4.8)
https://invent.kde.org/qt/clang/llvm-project/-/commit/de26036ecb4b450e5e1bdc49ee7101e3ce294bc4

Git commit 877552125de71adb20acf492c35ddf94830e26e5 by ergawy on 30/07/2026 at 09:53..
[flang][Transforms] Add SelectOpsConversion pass

Introduces `--fir-select-ops-conversion`, which lowers `fir.select`,
`fir.select_case`, and `fir.select_rank` to the control-flow dialect
(`cf.switch` / `cf.cond_br` / `cf.br`) while preserving the CFG shape.
`fir.select_case` becomes an if-then-else ladder of `arith.cmpi` +
`cf.cond_br`; Fortran `UNSIGNED` selectors use `ule`. Signed / unsigned
FIR integer values are normalized to signless via `fir.convert` first.

`fir.select_type` is not handled here — it is already lowered by
`--fir-polymorphic-op` (`PolymorphicOpConversion`).

The pass runs in the default FIR optimizer pipeline right after
`PolymorphicOpConversion`. Pipeline-check tests are updated to expect
`SelectOpsConversion` in the sequence; `Fir/select.fir` and
`Lower/volatile3.f90` are relaxed to accept the newly-canonicalized form
of the lowered output.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <[email protected]>
https://invent.kde.org/qt/clang/llvm-project/-/commit/877552125de71adb20acf492c35ddf94830e26e5

Git commit 07ce5aaf62eb2ec7dc446236af0c079301d48103 by ergawy on 30/07/2026 at 10:13..
[flang][CodeGen] Replace fir.select* FIR-to-LLVM patterns with stubs

`fir.select`, `fir.select_case`, `fir.select_rank`, and `fir.select_type`
are lowered to cf.* earlier in the pipeline (`--fir-select-ops-conversion`
and `--fir-polymorphic-op`). Their FIR-to-LLVM conversion patterns are
dead in a correct pipeline. Replace them with a single templated stub
`SelectShouldHaveBeenConvertedStub<OP>` that emits `"'fir.<op>' op should
have already been converted"` and fails legalization, so running
`--fir-to-llvm-ir` standalone on stale IR reports a clear diagnostic
instead of "unable to legalize".

`Fir/convert-to-llvm.fir`'s six select* test blocks are removed (the
lowering no longer runs; CF-level coverage lives in
`Fir/SelectOpsConversion/`). `Fir/convert-to-llvm-invalid.fir` gains a
stub-error test per op. `Fir/Todo/select_case_with_character.fir` is
retargeted to check the equivalent diagnostic now emitted by
`--fir-select-ops-conversion`.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <[email protected]>
https://invent.kde.org/qt/clang/llvm-project/-/commit/07ce5aaf62eb2ec7dc446236af0c079301d48103
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.