Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert copy to r-value reference. #85606

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

MalaySanghi
Copy link
Contributor

That seems to be the intention based on calling code.

That seems to be the intention based on calling code.
@MalaySanghi
Copy link
Contributor Author

@aeubanks please comment if I understood the intention correctly. Did you instead intend to have a copy constructor?

@aeubanks
Copy link
Contributor

ah this is probably right (need the same thing in PassManagerInternal.h)

@MalaySanghi MalaySanghi marked this pull request as ready for review March 19, 2024 04:44
@MalaySanghi
Copy link
Contributor Author

@phoebewang
Please review this change.

The original author seems to have referred code in a different file which has the same issue. I can create a separate PR for that.

Copy link
Contributor

@phoebewang phoebewang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@phoebewang phoebewang merged commit ff60a84 into llvm:main Mar 19, 2024
7 checks passed
@MalaySanghi MalaySanghi deleted the ms_copyLargeStruct branch March 19, 2024 06:51
chencha3 pushed a commit to chencha3/llvm-project that referenced this pull request Mar 23, 2024
That seems to be the intention based on calling code.
qiaojbao pushed a commit to GPUOpen-Drivers/llvm-project that referenced this pull request May 15, 2024
…aa52a9799

Local branch amd-gfx f11aa52 Merged main:e04dd68a3a26d3ebdc2db07cf2f8807a02d30ce2 into amd-gfx:26b5e3593208
Remote branch main ff60a84 Convert copy to r-value reference. (llvm#85606)
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.

None yet

3 participants