<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:aaron@aaronballman.com" title="Aaron Ballman <aaron@aaronballman.com>"> <span class="fn">Aaron Ballman</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - Clang 3.4 release branch fail to build a opencl kernel with __constant pointer comparison with NULL."
href="http://llvm.org/bugs/show_bug.cgi?id=18120">bug 18120</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WORKSFORME
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - Clang 3.4 release branch fail to build a opencl kernel with __constant pointer comparison with NULL."
href="http://llvm.org/bugs/show_bug.cgi?id=18120#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - Clang 3.4 release branch fail to build a opencl kernel with __constant pointer comparison with NULL."
href="http://llvm.org/bugs/show_bug.cgi?id=18120">bug 18120</a>
from <span class="vcard"><a class="email" href="mailto:aaron@aaronballman.com" title="Aaron Ballman <aaron@aaronballman.com>"> <span class="fn">Aaron Ballman</span></a>
</span></b>
<pre>Resolving as works for me since this appears to be functional on ToT.(In reply
to <a href="show_bug.cgi?id=18120#c4">comment #4</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=18120#c2">comment #2</a>)
> > When I compile with ToT on Windows (MSVC 12, Debug, x86), I get:
> >
> > E:\llvm\2013>clang -cc1 -x cl -triple spir -emit-llvm -O0 "E:\Aaron
> > Ballman\Desk
> > top\test.cl"
> > E:\Aaron Ballman\Desktop\test.cl:24:24: warning: implicit declaration of
> > functio
> > n 'get_global_id' is invalid in C99
> > uint idx = (uint)get_global_id(0);
> > ^
> > 1 warning generated.
> >
> > The assertion does not happen for me. Are you still able to reproduce this
> > issue against ToT?
>
> I just tried the ToT version, and it could build this case successfully. But
> another bug I submitted at:
> <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - 3.4 release branch failed to compile a simple opencl kernel"
href="show_bug.cgi?id=18119">http://llvm.org/bugs/show_bug.cgi?id=18119</a>
> is still reproducable with the ToT clang. Thanks.
>
> And I don't know much about the working flow here. Should I change the
> status of this bug to fixed, although it is still broken at the clang 3.4
> branch?</span >
Since it's working on ToT, I am going to resolve as "worksforme." Thank you for
double-checking that it also works for you!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>