<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi folks,
<div><br>
</div>
<div>I'm running into this weird issue where the register spills appear to be missing for an "if" block for some reason. For example, the original if/else blocks:</div>
<div><br>
</div>
<div>---</div>
<div>if  reg0</div>
<div><br>
</div>
<div>// storeRegToStackSlot for reg1</div>
<div>// do something</div>
<div>- missing a load for reg1?</div>
<div><br>
</div>
<div>else</div>
<div>// storeRegToStackSlot for reg1</div>
<div><span style="font-size: 10pt;">// do something</span></div>
<div><span style="font-size: 10pt;">// loadRegFromStackSlot for reg1</span></div>
<div><span style="font-size: 10pt;">end </span></div>
<div><span style="font-size: 10pt;">----</span></div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><span style="font-size: 10pt;">I tried looking in the LLVM spiller code but it looked like the load should have already been generated at that point. Any suggestions on what I should look for here?</span></div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><span style="font-size: 10pt;">Thanks a lot!</span></div>
<div><span style="font-size: 10pt;">- Chad </span></div>
<div><span style="font-size: 10pt;"><br>
</span></div>
</div>
</body>
</html>