Skip to content

Conversation

@z1-cciauto
Copy link
Collaborator

No description provided.

tomershafir and others added 18 commits November 9, 2025 14:11
This patch adds a Clang-compatible `--save-stats` option, to provide an
easy to use way to save LLVM statistics files when working with llc on
the backend.

Like on Clang, one can specify `--save-stats`, `--save-stats=cwd`, and
`--save-stats=obj` with the same semantics and JSON format.

The implementation uses 2 methods `MaybeEnableStats` and
`MaybeSaveStats` called before and after `compileModule` respectively
that externally own the statistics related logic, while `compileModule`
is now required to return the resolved output filename via an output
param.

Note: like on Clang, the pre-existing `--stats` option is not affected.
…atch (llvm#166615)

Resolves llvm#166057

---------

Co-authored-by: Phoebe Wang <phoebe.wang@intel.com>
…ions (llvm#167220)

The explicit language specifications for Objective C/C++ don't seem necessary either so I've removed
them too.

I found these by using Clang frontend configuration files containing language-specific options for
both C and C++ (e.g. `-std=c2y` and `-std=c++26`).

Prior-art: 21041c9
)

Fix issue in readability-container-data-pointer when the container
expression is a dereference (e.g., `&(*p)[0]`). The previous fix-it
suggested `*p.data()`, which changes semantics because `.` binds tighter
than `*`. The fix now correctly suggests `(*p).data()`.

Closes [llvm#164852](llvm#164852)

---------

Co-authored-by: Baranov Victor <bar.victor.2002@gmail.com>
…tomics` extension (llvm#166257)

This enables support for atomic RMW ops (add, sub, min and max to be
precise) with `bfloat16` operands, via the [SPV_INTEL_16bit_atomics
extension](intel/llvm#20009). It's logically a
successor to llvm#166031 (I should've used a stack), but I'm putting it up
for early review.

---------

Co-authored-by: Matt Arsenault <arsenm2@gmail.com>
Identified with llvm-use-ranges.
Identified with readability-misleading-indentation.
Identified with readability-redundant-typename.
This patch consolidates two implementations of meet using
"if constexpr", migrating away from the SFINAE-based approach.
…ctors. (llvm#166537)

This code was assuming that the vectors were 128bit. Add handling for
64bit vectors. Some of the tests do not apply yet due to not matching
non-splat vectors.

Fixes llvm#166400
…lvm#167093)

SandboxIR's SwitchInst CaseHandle was relying on LLVM IR's
SwitchInst::CaseHandleImpl template, which may call private functions of
SandboxIR's SwitchInst. This creates a dependency cycle which is against
the design principles of Sandbox IR.

The issue was exposed by:
llvm#166842 Thanks to @aengelke for
raising the issue.
@z1-cciauto z1-cciauto requested a review from Groverkss as a code owner November 9, 2025 20:09
@z1-cciauto z1-cciauto requested a review from a team November 9, 2025 20:09
@z1-cciauto
Copy link
Collaborator Author

@z1-cciauto z1-cciauto merged commit bf50425 into amd-staging Nov 9, 2025
8 checks passed
@z1-cciauto z1-cciauto deleted the upstream_merge_202511091509 branch November 9, 2025 22:45
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.