<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>The lowering described appears to match the expected behavior of
the statepoint you've described. It's not clear why you believe
there should be four values in the lowering when that is not what
you've specified in the IR. You'll need to provide a bit more
context if you want help. My best guess is that you've
misunderstood the documentation - maybe you've confused the
stackmap format with the behavior of RS4GC?<br>
</p>
<p>Philip<br>
</p>
<div class="moz-cite-prefix">On 9/18/21 11:57 AM, Kavindu Gimhan
Zoysa via llvm-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALoJghVMGUnQuXp0E9QnRADDA4DYQrAwQhRvHNB-XaDrvWT-oA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi all,</div>
<div><br>
</div>
<div><b>[ "gc-live"(<2 x i8 addrspace(1)*> %68, <2 x i8
addrspace(1)*> %base_ie) ]</b><br>
</div>
<div><b><br>
</b></div>
<div>Please consider that I have an LLVM IR which has a
statepoint with the above gc-live operands.</div>
<div>The generated stackmap record for the above statepoint has
below properties.</div>
<div><br>
</div>
<div>1. only 2 locations</div>
<div>2. both are indirect</div>
<div>3. size of each location is 16 bytes</div>
<div>4. offsets are different. i.e. 0x30 and 0x20</div>
<div><br>
</div>
<div>As I understand, in stackmap we can see pair of locations
always for a single pointer. But in this case, there should be
4 locations because we have 2 pointers in the statepoint.</div>
<div><br>
</div>
<div>Can you help me to solve this?</div>
<div><br>
</div>
<div>Thank you,</div>
<div>Kavindu</div>
<br clear="all">
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Kavindu Gimhan Zoysa,</div>
<div>BSc(Hons) | ENTC | UoM,<br>
</div>
<div dir="ltr">ATL | WSO2
<div><br>
</div>
<div><a href="https://github.com/KavinduZoysa"
target="_blank" moz-do-not-send="true">GitHub</a> <a
href="https://www.linkedin.com/in/kavindu-gimhan-zoysa-85939a122/"
target="_blank" moz-do-not-send="true">LinkedIn</a> <a
href="https://medium.com/@kavindugimhanzoysa"
target="_blank" moz-do-not-send="true">Medium</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
</blockquote>
</body>
</html>