[LLVMbugs] [Bug 6767] New: Assertion failed: (isVector() && "Invalid vector type!"), function getVectorNumElements, file /data/home/rdivacky/llvm/include/llvm/CodeGen/ValueTypes.h, line 550.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 2 02:38:51 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=6767

           Summary: Assertion failed: (isVector() && "Invalid vector
                    type!"), function getVectorNumElements, file
                    /data/home/rdivacky/llvm/include/llvm/CodeGen/ValueTyp
                    es.h, line 550.
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4625)
 --> (http://llvm.org/bugs/attachment.cgi?id=4625)
test case

pes delta$ clang -O2 write.c

  ... warnings ...

Assertion failed: (isVector() && "Invalid vector type!"), function
getVectorNumElements, file
/data/home/rdivacky/llvm/include/llvm/CodeGen/ValueTypes.h, line 550.
Stack dump:
0.      Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.0 -S -disable-free -main-file-name write.c
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -resource-dir /usr/local/lib/clang/1.5 -O2
-fmessage-length 152 -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/cc-9NHkV8.s -x c write.c 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'X86 DAG->DAG Instruction Selection' on function
'@write_contents'
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)

this is on X86-64, I can provide the BC but I cant reproduce it with it

pes delta$ clang -c -emit-llvm write.c

  ... warnings ...

pes delta$ llc -O2 write.o
pes delta$

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list