[LLVMbugs] [Bug 18120] Clang 3.4 release branch fail to build a opencl kernel with __constant pointer comparison with NULL.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 7 14:38:30 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=18120

Aaron Ballman <aaron at aaronballman.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #5 from Aaron Ballman <aaron at aaronballman.com> ---
Resolving as works for me since this appears to be functional on ToT.(In reply
to comment #4)
> (In reply to comment #2)
> > 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:
> http://llvm.org/bugs/show_bug.cgi?id=18119
> 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?

Since it's working on ToT, I am going to resolve as "worksforme." Thank you for
double-checking that it also works for you!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140207/6f37ea2c/attachment.html>


More information about the llvm-bugs mailing list