[llvm-bugs] [Bug 45387] New: Compiler no longer allowing the creation of vectors with >= 1024 elements
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Wed Apr  1 11:21:01 PDT 2020
    
    
  
https://bugs.llvm.org/show_bug.cgi?id=45387
            Bug ID: 45387
           Summary: Compiler no longer allowing the creation of vectors
                    with >= 1024 elements
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: douglas_yung at playstation.sony.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
On my x64 linux machine, I noticed that the compiler no longer seems to allow
creating a vector with >= 1024 elements after commit 6f28e09. Is this
intentional? Gcc allows it, and clang prior to this change did as well.
Here is the code I tried to build:
_attribute__((vector_size_(1024))) char foo;
And here is the compiler output:
dyung at rigel:~$ ~/src/upstream/6f428e09-linux/bin/clang -c -Wall test.cpp
test.cpp:1:16: error: vector size too large
__attribute__((__vector_size__(1024))) char foo;
               ^               ~~~~
1 error generated.
-- 
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/20200401/606beb8b/attachment.html>
    
    
More information about the llvm-bugs
mailing list