[clang-format] Fix annotating paren after in (#206810)
The y.in(foo) was considered a cast, and thus the following - annotated
as unary operator.
Fixes #206339
AMDGPU/GlobalISel: Switch to extended LLTs
IRtranslator now translates bfloat. Switch tablegen to use extendedLLTs.
Around 300 regression tests fail to inst-select because GIM_SwitchType
does not accept LLT::scalar. Around 100 mir inst select tests had input
updated to i32/f32 and selects successfully. Then there are 24 various
crashes, mostly combiner or machine-verifier, those tests are disabled.
Most problems come from mixing s32 with i32/f32 and the way
operator== works with extendedLLTs compared to GIM_SwitchType.
In general, for inst-select fixes, think it would be best to try and avoid
explicit use of LLT::scalar in lowering to avoid mixing it with i32/f32
See inst-select-extendedLLTs.mir and inst-select-extendedLLTs-err.mir.
hwpstate_amd(4): Use new cpu_get_pcpuid(), constify related variables
Also, add a check in the attach method that a per-CPU structure is
provided by the bus. This allows to remove such checks in multiple
functions. The check cannot currently fail as all x86 CPU drivers
(ACPI, legacy) provide the CPU_IVAR_PCPU instance variable, but it is
safer to have it, especially as an example to other driver writers.
Event: Halifax Hackathon 202606
Location: Seat 25A in AF0349, before leaving Montréal-Trudeau
Sponsored by: The FreeBSD Foundation
hwpstate_intel(4): Use new cpu_get_pcpuid(), constify related variables
Also, add a check in the attach method that a per-CPU structure is
provided by the bus. This allows to remove such checks in multiple
functions. The check cannot currently fail as all x86 CPU drivers
(ACPI, legacy) provide the CPU_IVAR_PCPU instance variable, but it is
safer to have it, especially as an example to other driver writers.
Event: Halifax Hackathon 202606
Location: Seat 36K in AC667, still waiting for a gate at Montréal-Trudeau
Sponsored by: The FreeBSD Foundation
cpu: New cpu_get_pcpuid(), retrieves internal CPU ID
It is a handy shortcut that will be used extensively in
hwpstate_intel(4) and hwpstate_amd(4).
Warn users that it panics if the parent bus does not provide the
CPU_IVAR_PCPU instance variable. That condition should be tested by
callers (doing so once is enough). Suggest to do that in driver's
attach method.
Reviewed by: jhb (code)
Event: Halifax Hackathon 202606
Location: Seat 36K in AC667, waiting for a gate at Montréal-Trudeau
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57897
[NFC][LLVM] Define range attribute for `llvm.prefetch` args (#207300)
Define valid range for `llvm.prefetch` immarg values and eliminate C++
verification code.
Additionally, change the range verification failure message to include
the argument number and simplify formatting using `formatv`.
[CostModel][X86] Reduce cost of pre-SSE41 select shuffle (#207400)
The all-logic instructions have better throughput/latency than shuffles
Confirmed with uops.info, llvm-mca and agner
Revert "[IR] Explicitly specify target feature for module asm" (#207399)
Reverts llvm/llvm-project#204548
This is causing the runtimes build to fail with e.g.:
```
<inline asm>:11:5: error: 32 bit reloc applied to a field with a different size
11 | jmp __interceptor_strlen at plt
| ^
```
See comments on the PR.
[DebugInfo] Truncate implicit value constants to source type width (#206671)
This is a follow-up to #204353.
mikaelholmen and bevin-hansson reported that the previous change could
assert downstream when emitting `DW_OP_implicit_value` for a source
integer type wider than the target generic DWARF stack type, if the
debug-value carrier integer contains bits outside the declared source
type width.
The fix is to construct the source-width `APInt` with explicit
truncation enabled before emitting the implicit value bytes. This
preserves the intended wrap/truncate behavior and avoids asserting on
otherwise recoverable debug-value input.
A regression test is added for an `unsigned _BitInt(48)` debug value on
i386, covering both an out-of-range positive carrier value and an
all-ones negative carrier value.
devel/muon: Update to 0.6.0
- Fetch source archive from homepage (formerly the source archive was
fetched from sourcehut)
- Execute pkg-config (formerly libpkgconf was used)
Changelog 0.6.0
===============
- internals / language features
- in script mode: refactor how scope works, all variable resolution
happens at compile time, globals are disallowed.
Improves performance and clarifies scoping rules.
(github pr)[https://github.com/muon-build/muon/pull/241]
- all memory is tracked an managed with an arena allocator.
This should improve memory usage, performance, and developer
ergonomics.
- toolchains
- toolchains are now defined in scripts:
[21 lines not shown]
Update KiCAD to 10.0.4
- Take maintainership
- Added -DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED to fix the build with
Boost. I’ve taken this from other ports.
- patch-cmake_FindPoppler_cmake I have removed all references to Qt, as
otherwise we would be linking agents Qt, which makes no sense in this
port.
Runtime test feedback from two users
Forward declare TextEncodingConverter in TextEncoding.h, move config.h into TextEncoding.cpp (#207382)
This patch forward declares TextEncodingConverter in
clang/include/clang/Lex/TextEncoding.h, and moves config.h into
llvm/lib/Support/TextEncoding.cpp instead of the header.