[llvm-bugs] [Bug 40315] New: clang doesn't support altivec vectors with typedefs

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 15 04:04:26 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=40315

            Bug ID: 40315
           Summary: clang doesn't support altivec vectors with typedefs
           Product: clang
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: cand at gmx.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

gcc supports altivec vectors with typedef types, like "vector uint8_t":
http://gcc.gnu.org/onlinedocs/gcc/PowerPC-AltiVec_002fVSX-Built-in-Functions.html

For compat with gcc, it would be good if clang also did so. Currently it causes
"error: unknown type name 'vector'".

-- 
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/20190115/6b6874ab/attachment-0001.html>


More information about the llvm-bugs mailing list