[libclc] r216321 - Add int3/uint3 to integer-gentype.inc
Aaron Watry
awatry at gmail.com
Sat Aug 23 07:04:36 PDT 2014
Author: awatry
Date: Sat Aug 23 09:04:36 2014
New Revision: 216321
URL: http://llvm.org/viewvc/llvm-project?rev=216321&view=rev
Log:
Add int3/uint3 to integer-gentype.inc
These were missing and caused mad24/mul24 with int3/uint3 arg type to fail
Signed-off-by: Aaron Watry <awatry at gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
Modified:
libclc/trunk/generic/include/clc/integer/integer-gentype.inc
Modified: libclc/trunk/generic/include/clc/integer/integer-gentype.inc
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/integer/integer-gentype.inc?rev=216321&r1=216320&r2=216321&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/integer/integer-gentype.inc (original)
+++ libclc/trunk/generic/include/clc/integer/integer-gentype.inc Sat Aug 23 09:04:36 2014
@@ -6,6 +6,10 @@
#include __CLC_BODY
#undef __CLC_GENTYPE
+#define __CLC_GENTYPE int3
+#include __CLC_BODY
+#undef __CLC_GENTYPE
+
#define __CLC_GENTYPE int4
#include __CLC_BODY
#undef __CLC_GENTYPE
@@ -26,6 +30,10 @@
#include __CLC_BODY
#undef __CLC_GENTYPE
+#define __CLC_GENTYPE uint3
+#include __CLC_BODY
+#undef __CLC_GENTYPE
+
#define __CLC_GENTYPE uint4
#include __CLC_BODY
#undef __CLC_GENTYPE
More information about the cfe-commits
mailing list