<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi all, <div><br></div><div>I am trying to see how single llvm optimizations work by running them one by one with opt and looking how the IR changes.</div><div>Since I was interested in seeing how constant propagation was working I tried to run opt on the Sparse Conditional Constant Propagation, however by passing as argument -S -sccp -die it does not change anything in the output IR code. <span style="font-size: 12pt; ">I attached the file with the source code I used, I think that the x value in that example should be propagated in the mul instruction. </span><span style="font-size: 12pt; ">What am I missing?</span></div><div><br></div><div>Thank you in advance,</div><div><br></div><div>Niko</div><div><br></div>                                          </div></body>
</html>