Skip to content

Conversation

@z1-cciauto
Copy link
Collaborator

No description provided.

kazutakahirata and others added 17 commits November 1, 2025 12:41
I'm planning to modify this file.
Identified with modernize-use-equals-default.
Identified with modernize-use-nullptr.
In C++17, static constexpr members are implicitly inline, so they no
longer require an out-of-line definition.

Identified with readability-redundant-declaration.
io.mapRequired takes StringRef as the key type.  As such, we do not
need to create extraneous copies with str().c_str() or str().

Identified with readability-redundant-string-cstr.
When setting RUNTIMES_USE_LIBC=libc we pass -nostdlibinc if the compiler
supports it. This causes compilation failures when trying to build
libc++ as libc will try and reference kernel headers in its own headers
that it now cannot find. Explicitly reference the kernel headers so the
compiler can find them.

Reviewers: vonosmas, petrhosek, #reviewers-libcxx, michaelrj-google

Reviewed By: michaelrj-google

Pull Request: llvm#165114
Suggest the initializer_list overload instead. I plan to deprecate the
last variadic `.Cases` in a separate PR.

For more context, see llvm#163117.
Update VPInstruction constructor to accept VPIRMetadata between the
Flags and DebugLoc parameters. This allows metadata to be passed during
construction rather than assigned afterward.
Identified with readability-container-contains.
…#166020)

Update all uses of variadic `.Cases` to use the initializer list
overload instead. I plan to mark variadic `.Cases` as deprecated in a
followup PR.

For more context, see llvm#163117.
…#165826)

Fold BuildVector where all operands are equal to Broadcast of the first
operand. This will subsequently make it easier to remove additional
buildvectors/broadcasts, e.g. via
llvm#165506.

PR: llvm#165826
In the case where the property name is value, the generated op def file would have a collision for hash_value.
These ConstantFold* functions are declared in both:

- llvm/include/llvm/Analysis/ConstantFolding.h
- llvm/include/llvm/IR/ConstantFold.h

However, the implementation resides in llvm/lib/IR/ConstantFold.cpp.

This patch removes the declarations in Analysis/ConstantFolding.h and
moves associated comments to IR/ConstantFold.h.
@z1-cciauto z1-cciauto requested a review from a team November 2, 2025 03:06
@z1-cciauto
Copy link
Collaborator Author

@z1-cciauto z1-cciauto merged commit a2fcef0 into amd-staging Nov 2, 2025
11 checks passed
@z1-cciauto z1-cciauto deleted the upstream_merge_202511012306 branch November 2, 2025 05:53
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.

9 participants