[Libclc-dev] [bug-fix] add_sat cannot handle type larger than i8 correctly.

Lei Mou lei.mou.uu at gmail.com
Sat Jun 2 00:08:48 PDT 2012

Patch for sub_sat.

PS: I noticed that in the generated Makefile, file
generic/lib/integer/add_sat.ll was not compiled (ptx/lib/integer/add_sat.ll
was linked into builtin.bc). I'm not quite sure whether the file has some
special purpose, or there is a bug in the build system. So I also added
file sub_sat.ll in the same folder.

Lei Mou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libclc-dev/attachments/20120602/99ea970b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sub_sat.diff
Type: application/octet-stream
Size: 11917 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libclc-dev/attachments/20120602/99ea970b/attachment-0002.obj>

More information about the Libclc-dev mailing list