<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>I am a bit stuck with this because the intrinsics on the LLVM I/R can only have one value, but for a memory intrinsic, I need it to have two values actually.<br><br>How should I add the second value and maintain the control chain?<br><br>The intrinsic looks like (MVT::i16, MVT::other), and if I lower the node to (MVT::i16, MVT::i16, MVT::other), I get the problem that the user of the chain is not updated to the right value index. Should I put the chain in the same slot, like (MVT::i16, MVT::other, MVT::i16), to avoid this, or must the chain be last value / first operand always, and if so, why?<br><br>Or, should I perhaps use a custom lowering and add the operand manually?<br><br>thanks,<br><br>Jonas<br><br>                                       </body>
</html>