[clang-tidy] Prefer the faster LLVM ADT sets and maps over `std::` ones (#174357)
The LLVM docs give a good description of [why `std::` containers are
slower than LLVM
alternatives](https://llvm.org/docs/ProgrammersManual.html#set). To see
what difference switching to the LLVM ones made, I [reused the
approach](https://github.com/llvm/llvm-project/pull/174237#issuecomment-3707395449)
of measuring how long it takes to run all checks over all standard
library headers (MSVC STL in my case). Using hyperfine (which basically
runs a program multiple times and computes how long it took):
```sh
hyperfine --shell=none './build/release/bin/clang-tidy --checks=* all_headers.cpp -header-filter=.* -system-headers -- -std=c++23'
```
...the results were:
Before:
```
Benchmark 1: ./build/release/bin/clang-tidy --checks=* all_headers.cpp -header-filter=.* -system-headers -- -std=c++23
Time (mean ± σ): 53.253 s ± 0.089 s [User: 46.480 s, System: 6.748 s]
[11 lines not shown]
DeveloperPolicy: Add note about legacy bitcode performance (#174720)
Note that bitcode does not attempt to guarantee performance
parity with upgraded bitcode.
[mlir][acc] Add OffloadLiveInValueCanonicalization pass (#174671)
Introduce a pass to canonicalize live-in values for regions that will be
outlined for device execution.
When a region is outlined, values defined outside but used inside become
arguments to the outlined function. However, some values cannot or
should not be passed as arguments:
- Synthetic types (shape metadata, field indices)
- Constants better recreated inside the region
- Address-of operations for device-resident globals
This pass identifies such values and either sinks the defining operation
into the region (when all uses are inside) or clones it inside (when
uses exist both inside and outside).
To identify target regions in a dialect-agnostic way, this patch
introduces `OffloadRegionOpInterface`. This marker interface allows the
pass to work uniformly across OpenACC compute constructs, GPU
[11 lines not shown]
[VPlan] Merge cases inferring type of operand 0 (NFC).
Merge all cases that infer the scalar type of operand 0 in
inferScalarTypeForRecipe(const VPInstruction).
[SLP]Update deps for copyables operands, if the user is used several times in node
If the user instruction is used several times in the node, and in one
cases its operand is copyable, but in another is not, need to check all
operands to be sure we do not miss scheduling
Precommit test for PR #171012 (#171013)
This patch precommits a test where base offsets are negative. PR
[171012](https://github.com/llvm/llvm-project/pull/171012 ) will
eliminate negative offsets by sorting the scratch instructions.
[AMDGPU] Handle `s_setreg_imm32_b32` targeting `MODE` register
On certain hardware, this instruction clobbers VGPR MSB `bits[12:19]`, so we need to restore the current mode.
[flang] Add traits to several AST nodes, NFC
There are quite a few AST nodes that don't have any of the standard
traits (Wrapper/Tuple/etc). Because of that they require special
handling in the parse tree visitor.
Convert a subset of these nodes to the typical format, and remove
the special cases from the parse tree visitor.
Remove more filesystem.mount_info usage
This commit replaces `filesystem.mount_info` calls where we can
use more direct `filesystem.statfs` calls and removes path
restriction for filesystem.statfs.
[lldb] skip the python interactive I/O test on windows (#175055)
There is no indication this ever worked on windows as this is the first
test that checks python interactive console from a file.
Looking at the error from the CI, It closed the interpreter before
running any python commands.
Will reconfirm this when I have access to a windows machine.
From https://github.com/llvm/llvm-project/pull/174216
Remove more filesystem.mountinfo usage
This commit replaces `filesystem.mountinfo` calls where we can
use more direct `filesystem.statfs` calls and removes path
restriction for filesystem.statfs.
Firewall: Rules: Migration assistant - add export option and guidance for migrations to the new mvc system.
Add new "Firewall: Rules: Migration assistant" to help people moving to our new mvc based firewall system by offering a couple of simple steps for exporting the old rules into a csv file and importing them into the new system. When all rules are migrated the user may drop all old ones using the ConfigMaintenance module used in "defaults".
There's one small issue remaining in fbegin.inc as it doesn't render the icon correctly due to VisibleName being escaped currently (which isn't the case in our mvc template).
closes https://github.com/opnsense/core/issues/9579
NAS-139216 / 26.04 / Use statmount and listmount for sysdataset plugin (#17973)
This commit adds some minor improvements to the system dataset plugin to
use optimized syscalls to get mount information.
[EarlyIfConversion] Fix loop invariant operands check (#174765)
Fixes a bug in the check which prevented walking up the operands
of the branch condition beyond the operands to the branch instruction
itself.
www/p5-Reddit-Client: Update to 1.395
Update to upstream version 1.395.
Restrict PORTSCOUT to valid upstream version numbers (1.xxx)
to avoid false positives such as 1.3865 while still detecting
future releases.
Sponsored by: Netzkommune GmbH