This is an archive of the discontinued LLVM Phabricator instance.

New regression test against expandMemCpyAsLoop utility
ClosedPublic

Authored by ebrevnov on Jan 28 2022, 12:50 AM.

Diff Detail

Event Timeline

ebrevnov created this revision.Jan 28 2022, 12:50 AM
ebrevnov requested review of this revision.Jan 28 2022, 12:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 28 2022, 12:50 AM
ebrevnov edited the summary of this revision. (Show Details)Jan 28 2022, 1:44 AM
ebrevnov added reviewers: sfertile, arsenm.
arsenm added a comment.Feb 9 2022, 9:10 AM

It would be easier to just use a lit test for the amdgpu expansion

arsenm added inline comments.Mar 28 2022, 4:07 PM
llvm/unittests/Transforms/Utils/MemTransferLowering.cpp
65

Braces

167–168

This is redundant with the cast<>

Herald added a project: Restricted Project. · View Herald TranscriptMar 28 2022, 4:07 PM
ebrevnov added inline comments.Mar 28 2022, 9:29 PM
llvm/unittests/Transforms/Utils/MemTransferLowering.cpp
65

Ok

167–168

Not totally redundant. It gives specific error message if Inst is not a MemCpyInst. Can remove if you like, not a big deal for me :-)

Looks good now?

I assume there are no more comments so far. If you find anything, please let me know and I will fix.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 4 2022, 11:28 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.

@ebrevnov I've reverted this as it was breaking a large number of buildbots due to link errors, maybe you've added a new lib dependency? https://lab.llvm.org/buildbot/#/builders/139/builds/19686

Please can you get this reviewed before you try again.

ebrevnov reopened this revision.Apr 5 2022, 3:23 AM
This revision was not accepted when it landed; it landed in state Needs Review.Apr 5 2022, 3:37 AM
This revision was automatically updated to reflect the committed changes.

@ebrevnov I've reverted this as it was breaking a large number of buildbots due to link errors, maybe you've added a new lib dependency? https://lab.llvm.org/buildbot/#/builders/139/builds/19686

Yep, there is a new dependency which I didn't catch because I use dynamic linking locally. Fixed that quickly but your revert reached first :-)

Please can you get this reviewed before you try again.

Read your message too late. Re-landed already. The reason why I landed without formal approval in the first place is because this is new regression test for the change in D118441 which was approved.

SGTM cheers