[LLVMbugs] [Bug 15775] New: Allow increment to extended vector types
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Apr 17 21:35:05 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=15775
Bug ID: 15775
Summary: Allow increment to extended vector types
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: john at multicorewareinc.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 10365
--> http://llvm.org/bugs/attachment.cgi?id=10365&action=edit
Increment of extended vector type
>From the OpenCL 1.1 Specification, 6.3.c, "The arithmetic post- and
pre-increment and decrement operators (-- and ++) operate on built-in scalar
and vector types except the built-in scalar and vector float types. All unary
operators work component-wise on their operands."
The attached OpenCL kernel program relying on this behavior fails semantic
checking with the error:
test.cl:5:7: error: cannot increment value of type 'int4'
--
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/20130418/27d9c301/attachment.html>
More information about the llvm-bugs
mailing list