[LLVMbugs] [Bug 15780] New: Extended vector literals cannot include smaller extended vectors outside OpenCL context

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 18 07:45:24 PDT 2013


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: unassignedclangbugs at nondot.org
          Reporter: john at multicorewareinc.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130418/184b86b2/attachment.html>


More information about the llvm-bugs mailing list