This is an archive of the discontinued LLVM Phabricator instance.

fix callsite attribute copying in statepoint lowering
Needs ReviewPublic

Authored by carnaval on Jun 13 2016, 6:55 AM.
This revision needs review, but all reviewers have resigned.

Details

Reviewers
sanjoy
Summary

The loop copying attributes from the statepoint to the lowered call site was missing an increment.

Diff Detail

Event Timeline

carnaval updated this revision to Diff 60515.Jun 13 2016, 6:55 AM
carnaval retitled this revision from to fix callsite attribute copying in statepoint lowering.
carnaval updated this object.
carnaval added a reviewer: sanjoy.
sanjoy requested changes to this revision.Jun 13 2016, 10:26 AM
sanjoy edited edge metadata.
sanjoy added inline comments.
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
7180

Can you please upload with full context, like you did for the other patches?

test/CodeGen/X86/statepoint-attributes.ll
2

You don't need the 2>&1.

11

Use full sentences -- start with uppercase, end with period etc.

This revision now requires changes to proceed.Jun 13 2016, 10:26 AM
carnaval updated this revision to Diff 60570.Jun 13 2016, 11:48 AM
carnaval updated this object.
carnaval edited edge metadata.

add context, reword test comment

sanjoy accepted this revision.Jun 13 2016, 4:05 PM
sanjoy edited edge metadata.

lgtm with a nit inline

test/CodeGen/X86/statepoint-attributes.ll
19

I'd also add a positive test (i.e. ; CHECK: mov ... {{{[0-9]+}}}(%rsp); CHECK: callq or something like that).

Also, how about adding this test to test/CodeGen/X86/deopt-bundles.ll?

This revision is now accepted and ready to land.Jun 13 2016, 4:05 PM

Looks like patch was not committed.

sanjoy resigned from this revision.Jan 29 2022, 5:26 PM
This revision now requires review to proceed.Jan 29 2022, 5:26 PM