<div dir="ltr"><div>Hi all,</div><div><br></div><div>I am a fourth year EE bachelors student who is very interested in compilers. I have taken the only compilers course offered in my school and did an independent study with my CS professor. Although I'll begin to work in a couple of months, I definitely want to pursue my interest in compiler design and optimization as a PhD in the future. I am very interested in the z3 SMT solver project detailed on the LLVM website and have been doing some research about it. </div><div><br></div>From what I understand, the current analyzer <font face="arial, helvetica, sans-serif"><span style="line-height:107%;color:black">traces the program, and at each branch, it branches out into the true
branch and the false branch. The true and false branch causes certain
constraints on the values. If the conditions on the branch causes a constraint
to be unsatisfiable, the path is considered to be infeasible. </span>
<span style="line-height:107%;color:black">traces the program, and at each branch, it branches out into the true
branch and the false branch. The true and false branch causes certain
constraints on the values. If the conditions on the branch causes a constraint
to be unsatisfiable, the path is considered to be infeasible. In that case, z3 would be useful in proving whether a branch is definitely true or false (i.e. whether the constraints are satisfiable), thus preventing exponential blowup of the analysis. </span></font><div><br></div><div>However, when I was looking through the github version of LLVM, it seems like z3 is already incorporated: </div><div><a href="https://github.com/llvm-mirror/clang/blob/master/lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp">https://github.com/llvm-mirror/clang/blob/master/lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp</a> <br></div><div><br></div><div>I guess my question is, what would the project contribute on top of the z3 manager that is currently implemented for LLVM?</div><div><br></div><div>Thanks!</div><div>Brenda</div></div>