<div dir="ltr"><div>Hi Tobi,</div><div><br></div>Add a 1d loop test case.<div><div>;int A[1024];</div><div><br></div><div>;int gpu() {</div><div>;  int i;</div><div>;</div><div>;  for(i = 0; i < 1024; i++)</div><div>;    A[i] = i*128 + 508;</div>
<div>;</div><div>;  return 0;</div><div>;}</div><div>;</div><div>;int main() {</div><div>;  int b = gpu();</div><div>;  return 0;</div><div>;}</div></div><div><br></div><div>checked with make polly-test.</div><div>Is this OK to commit?</div>
<div><br></div><div>Thanks,</div><div>Yabin</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-24 14:32 GMT+08:00 Tobias Grosser <span dir="ltr"><<a href="mailto:tobias@grosser.es" target="_blank">tobias@grosser.es</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 24/06/2014 08:27, Yabin Hu wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Tobias,<br>
<br>
The attached patch removes use of llvm.codegen intrinsic for GPGPU codegen<br>
in polly.<br>
Do you think it is good enough to commit?<br>
</blockquote>
<br></div></div>
If you add a trivial test case this looks good to me.<span class="HOEnZb"><font color="#888888"><br>
<br>
Tobias<br>
</font></span></blockquote></div><br></div>