<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>In 3.1, the backend is very slow to legalize types. </p>
<p><br>
</p>
<p>Following is the code snippet which may be the culprit:</p>
<p></p>
<div>  %Result.i.i.i97 = alloca i33, align 8<br>
  %Result.i.i.i96= alloca i33, align 8<br>
  %Result.i.i.i95 = alloca i33, align 8<br>
  %Result.i.i.i94 = alloca i33, align 8<br>
  %Result.i.i.i93 = alloca i33, align 8<br>
  %Result.i.i.i92= alloca i33, align 8<br>
  %Result.i.i.i91 = alloca i33, align 8<br>
  %Result.i.i.i90 = alloca i33, align 8<br>
  %Result.i.i.i89 = alloca i33, align 8<br>
</div>
<p></p>
<p><br>
</p>
<p>The compilation time improve significant if running on LLVM 3.9. Unfortunately, it's not a choice for me now to upgrade it to 3.9.</p>
<p>If anyone luckily to  know what's the evolution in this area to improve the compilation time performance, pls kindly comments.</p>
<p><br>
</p>
<p>thanks</p>
<p>Xiaoyong</p>
<p><br>
</p>
</div>
</body>
</html>