http://llvm.org/bugs/show_bug.cgi?id=15780
Bug ID: 15780
Summary: Extended vector literals cannot include smaller
extended vectors outside OpenCL context
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 10369
--> http://llvm.org/bugs/attachment.cgi?id=10369&action=edit
.c file initializing an int4 from two int2s.
Unless the language mode is set to OpenCL, a vector initializer fusing multiple
smaller vectors into a larger vector is disallowed for extended vectors.
Simple test case is attached, and fails with error:
"test.c:6:15: error: initializing 'int4' with an expression of incompatible
type"
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs