[RISCV][GISel] Add GlobalISel equivalent of the SplatPat_uimm5 complex pattern (#249247)
Add a GIComplexPatternEquiv for SplatPat_uimm5 and implement
selectVSplatUimmBits in the GlobalISel instruction selector, mirroring
RISCVDAGToDAGISel::selectVSplatUimmBits. The importer can now use the
patterns that need it, so vector shifts by a constant splat that fits in
a 5-bit unsigned immediate select to the .vi forms, for example vsll.vi
instead of li + vsll.vx.
Part of #246831
[PISA] Update the expected target subregister count (#249475)
Update the PISARegisterInfo static assertion to reflect the 73 generated
target subregisters. This fixes a build with expensive checks enabled.
[Clang][OpenMP] Keep outlined-region alloca casts inside the region (#247854)
OutlinedRegionBodyRAII redirects AllocaInsertPt but leaves
PostAllocaInsertPt pointing into the enclosing function. On AMDGPU, this
places a parallel-local variable's alloca inside the region and its
address-space cast outside it, triggering the OpenMPIRBuilder assertion
against live-out values.
Scope both insertion points to the outlined region, using a temporary
marker to keep allocas before their casts. Restore both insertion points
and remove the marker on exit.
Add an AMDGPU target-parallel regression test and regenerate affected
tests.
Fixes #247390.
Assisted by gpt-6.
[flang] Add store and load models for memmove, memref and acc operations (#248744)
FortranObjectStoreOpInterface tells which values an operation stores and
where, and FortranObjectLoadOpInterface tells which memory the result of
a load is read from. Flang also creates operations of other dialects
that read and write the memory of Fortran objects:
- llvm.intr.memmove, which lowering uses to copy characters,
- memref.load and memref.store, which fir-to-memref creates,
- acc.reduction_combine.
Add FortranObjectStoreOpInterface models for llvm.intr.memmove,
memref.store and acc.reduction_combine, and a
FortranObjectLoadOpInterface model for memref.load. Rename
registerMemRefFortranObjectViewExternalModels to
registerMemRefFortranObjectExternalModels, since it now registers the
load and store models too.
FIR alias analysis does not query FortranObjectStoreOpInterface yet.
https://github.com/llvm/llvm-project/pull/243650 makes it use the
[4 lines not shown]
Services: Intrusion Detection: Administration - rule enabled state as posted, descending rule sort (#11409)
* Services: Intrusion Detection: Administration - set a rule's enabled state as posted
setRuleAction() passes getPost('enabled', 'int') to toggleRuleAction(),
whose $enabled == null is also true for 0, so posting enabled 0 toggled
the rule: a disabled rule got enabled.
* Services: Intrusion Detection: Administration - sort installed rules descending
The sort string ended in a space ("sid desc "), and rulecache.py's
search() takes the last space-separated word as the direction, so desc
fell back to asc.
(cherry picked from commit 444dddfd239f5bed0da4535858f5d4b3f840be6d)
httpd: answer CONNECT with 405
httpd is not a forward proxy, but CONNECT put the connection in tunnel
mode and "CONNECT /path" reached the location handlers, FastCGI
included. Reject it like TRACE and remove server_read(), now unused
[clang] Remove unused local variables (NFC) (#249464)
This patch removes unused local variables across clang/.
Note that these variables do not trigger -Wunused-variable because
their types have non-trivial constructors or destructors. Their
initializers have no side effects on surrounding state.
Assisted-by: Antigravity
[CIR][OpenMP] Add support for OpenMP reduction clause
This patch adds support for the OpenMP reduction clause on the teams and for
directives for reductions with built-in identifiers on local scalar integer and
floating-point variables. Other cases, such as user-defined reductions,
modifiers, arrays and globals, are reported as not yet implemented.
Assisted-by: Cursor / Claude Opus 5.5 Medium
[CIR][OpenMP] Add support for omp teams
This patch adds support for the OpenMP 'teams' directive, both standalone
and as the combined `target teams` construct. isCombinableLeaf now also
recognizes teams, so an explicitly-nested `target` + `teams` pair gets
the same omp.combined marking as the combined case.
Assisted-by: Cursor / Claude Sonnet 5 High
[CIR][OpenMP] Add support for 'distribute parallel for' with 'target teams'
Adds support for handling the full '[target] teams distribute parallel for'.
Introduces setting the omp.composite attibute for the 'distribute parallel for'
composite construct.
Assisted-by: Cursor / Claude Sonnet 5 High
[CIR][OpenMP] Add initial support for distribute
This patch adds initial support for the OpenMP 'distribute' directive. Basic
code generation for the standalone and combined cases is introduced. Support
for clauses will be added in the future. The composite 'teams distribute
parallel for' form will be added in a subsequent patch.
Assisted-by: Cursor / Claude Sonnet 5 High