[AMDGPU][InstCombine] Fold unused m0 operand to poison for sendmsg intrinsics (#183755)
Fold the second operand (m0) of llvm.amdgcn.s.sendmsg and
llvm.amdgcn.s.sendmsghalt to poison when the message type does not use
m0.
Only MSG_GS_ALLOC_REQ (message ID 9) actually reads the m0 value. All
other message types ignore it, so we can fold the operand to poison,
which eliminates unnecessary s_mov_b32 m0, 0 instructions in the
generated code.
Fixes https://github.com/llvm/llvm-project/issues/183605
- Added InstCombine case for amdgcn_s_sendmsg and amdgcn_s_sendmsghalt
intrinsics
- Extract message ID using 8-bit mask to handle both pre-GFX11 (4-bit)
and GFX11+ (8-bit) encoding
- Only preserve m0 operand for ID_GS_ALLOC_REQ
[clang][ssaf] Add UnsafeBufferUsage summary extractor for functions (#182941)
The UnsafeBufferUsage summary extract reuses -Wunsafe-buffer-usage to
find all unsafe pointers in functions and translates them to
entity-based representation.
rdar://169191570
[X86][llvm-exegesis] Add support for emeraldrapids (#185928)
We were seeing some test failures internally due to some of our
llvm-exegesis tests starting to run on emeraldrapids machines and
erroring because there was no mapping.
We simply mirror sapphirerapids here because libpfm does the same
internally and raptor cove (uarch for emeraldrapids) is just a refresh
of golden cove (uarch for sapphirerapids), so should not contain any
differences with regards to execution ports.
Force child smbd processes to reload SMB config
This commit alters the reload behavior for the cifs service
plugin such that we force all active SMB sessions to reload their
share configuration. This change is made to address issues whereby
an already-existing SMB session cannot tcon into newly-created
shares.
[Clang-doc] Display values and comments in MD (#183754)
Display enum members in a tabular format in markdown.
Support displaying enum member value and comments.
Output:
| Name | Value | Comments |
|---|---|---|
| Small | 0 | A pearl.<br>Pearls are quite small.<br><br>Pearls are used
in jewelry. |
| Medium | 1 | A tennis ball. |
| Large | 2 | A football. |
[ELF] Fix -u with TLS symbols: propagate type from STT_NOTYPE to STT_TLS (#185794)
-u creates an Undefined with STT_NOTYPE. When an object file provides
another Undefined with STT_TLS for the same symbol, Symbol::resolve
only updated binding, leaving type as STT_NOTYPE. This caused
sym.isTls() to return false in postScanRelocations, skipping TLS GOT
entry creation and leading to an out-of-range R_X86_64_GOTTPOFF error.
Fix: in resolve(Undefined), when the existing type is STT_NOTYPE,
adopt the incoming type.
[lldb] Replace make_error<StringError> with createStringError* (NFC) (#185748)
This makes the constructions of string errors more concise and more
consistent, mainly by removing the `inconvertibleErrorCode()`.
Additional changes replace `createStringError(formatv(...), ...)` with
`createStringErrorV(...)`.
Assisted-by: Claude
wabt: updated to 1.0.40
1.0.40
Remove macos-13 from CI. NFC
Lower the Ubuntu version for the release
Add support for (ref ...) / (ref null ...) constructs
Implement return_call_ref, ref.as_non_null, br_on_[non_]null instructions
Support table initializer expressions; completes function references support
Code improvements for call ref and br_on_[non_]null
Fix use of uninitialized value in WastParser::ParseSimdV128Const.
Fix reference tracking in SharedValidator
Save local set data in EndTryTable
wast-parser: make IsPowerOfTwo support memory64 addresses
[binary-reader] Validate import type earlier. NFC
[binary-reader] Re-use ReadExternalKind for import as well as exports. NFC
Add initial support for compact import section. NFC
Update gtest from release-1.10.0 -> release-1.12.0. NFC
Add bounds check for function body size in binary reader
[11 lines not shown]
Make omp.iterator verify more robust and add tests
- Make sure
- step in omp.iterator is not zero
- when step > 0, lo < hi
- when step < 0, lo > hi
- Add negative test for above checks
- Add iterator lowering test to make sure negative step work
```
// OpenMP 5.2.6
The iterator value setof the iterator are the set ofvalues i_1,...,i_N where:
i_1 = begin
i_j = i_{j-1} + step, for j >= 2
If step > 0:
i_1 <= end
i_N <= end
i_N + step > end
[6 lines not shown]
NAS-140229 / 26.0.0-BETA.2 / Call dlm.reset_active when peer disconnects (by bmeagherix) (#18434)
Previously reset_active was only called when STANDBY reconnected,
leaving DLM RSBs in an inconsistent state for the duration of the
outage. Calling it immediately when the peer goes down ensures DLM
recovery runs and repairs pending lock lookups before SCST issues new
dlm_lock requests during logout_all.
Three guards prevent acting in the wrong context: only runs on MASTER;
skips if the peer's DLM port is still reachable (middleware-only
restart); skips if we have logged-in extents (we are STANDBY or
mid-transition and the failover event is already handling cleanup).
Original PR: https://github.com/truenas/middleware/pull/18423
Co-authored-by: Brian M <brian.meagher at ixsystems.com>