Skip to content

merge main into amd-staging#1100

Closed
ronlieb wants to merge 8 commits intoamd-stagingfrom
amd/merge/upstream_merge_20260114181114
Closed

merge main into amd-staging#1100
ronlieb wants to merge 8 commits intoamd-stagingfrom
amd/merge/upstream_merge_20260114181114

Conversation

@ronlieb
Copy link
Collaborator

@ronlieb ronlieb commented Jan 15, 2026

No description provided.

spaits and others added 8 commits January 14, 2026 15:50
…xt or trunc (NFC) (llvm#175947)

This came up during discussions under PR llvm#161101.
…ter (llvm#175913)

`dereferenceable(<n>)` with n being potentially zero can come up when
using an operand bundle with a variable size. Currently this implies
that the pointer is non-null, even though `[nullptr, nullptr)` is a
valid range in any programming language I'm aware of. This patch removes
this implication and updates the language reference to reflect that
`dereferenceable` with a zero argument is valid.
Based on Michael Maitland's previous work:
llvm#121222

This PR uses the existing recurrences code instead of introducing a
new pass just for CSA autovec. I've also made recipes that are more
generic.
Add handling for CTLS using the same method as in
llvm#174636.

Added tests to AArch64 and RISCV, but it seems that ARM is actually
resolving `llvm.arm.cls` to `clz`, so not tests added there.
@ronlieb ronlieb requested review from a team and dpalermo January 15, 2026 00:20
@z1-cciauto
Copy link
Collaborator

@ronlieb ronlieb closed this Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants