<br clear="all">Hello,<br><br>I am trying to understand the opt tool. I wrote a program and created the .bc file using clang. And I used this .bc file to generate another .bc file using the opt tool. I dis-assembled this bitcode file and compared the output with previous unoptimized bitcode file. It was the same. I am not sure how to check the difference. Can anyone tell me if this is how we check the optimized output or is there any other way. If the procedure that I used is correct then could you tell me why am I not able to see the optimizations on the source code. The commands are in this way:<br>
<br>clang -c -emit-llvm filename.c -o filename.bc<br><br>opt -strip-dead-prototypes -f <filename.bc> filename2.bc<br><br><br>I am working on the visual studio solution file and on windows 7 (in case you want to know the platform)<br>
<br>Thanks.<br><br>-- <br>Kalyan Ponnala<br>phone: 8163772059<br>
<div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>