This is an archive of the discontinued LLVM Phabricator instance.

statepoint-call-lowering: test relocate int and array
AbandonedPublic

Authored by artagnon on Jan 14 2015, 6:09 PM.

Details

Reviewers
reames
sanjoy
Summary

Let's confirm that this works before we attempt to relocate vectors.

Diff Detail

Event Timeline

artagnon updated this revision to Diff 18205.Jan 14 2015, 6:09 PM
artagnon retitled this revision from to statepoint-call-lowering: test relocate int and array.
artagnon updated this object.
artagnon edited the test plan for this revision. (Show Details)
artagnon added reviewers: reames, sanjoy.
artagnon added a subscriber: Unknown Object (MLST).
artagnon updated this revision to Diff 18237.Jan 15 2015, 10:23 AM

Rebase onto master: gc "statepoint-example" the two new functions

reames edited edge metadata.Jan 15 2015, 10:35 AM

I am completely missing all context on what you're trying to accomplish with these tests. What is "this" that is supposed to work?

test/CodeGen/X86/statepoint-call-lowering.ll
80

Er, this is *not* a relocation of an integer. It's the relocation of a *pointer* to an integer.

97

This is testing the relocation of *a pointer* to an array. Is that what you intended?

artagnon abandoned this revision.Jan 15 2015, 10:40 AM

After reading through StatepointLowering in greater detail, I realize that I should be testing the stackmaps, not the generic stores that are emitted; emitting those stores is not part of the statepoint code.