[LLVMbugs] [Bug 5070] New: can't return vector of three ints

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Sep 27 11:29:16 PDT 2009


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

           Summary: can't return vector of three ints
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nicholas at mxc.ca
                CC: llvmbugs at cs.uiuc.edu


I tried a couple trivial non power of two vectors just to check whether they
really work:

  define <3 x i8> @foo(<3 x i8> %x) {
    ret <3 x i8> %x
  }

$ llvm-commit/Debug/bin/llc x.ll -o -
        .file   "x.ll"
Return operand #2 has unhandled type i8UNREACHABLE executed at
CallingConvLower.cpp:93!
0   llc 0x08bd0635
1   llc 0x08bd0c01
2       0xffffe400 __kernel_sigreturn + 0
Stack dump:
0.      Program arguments: llvm-commit/Debug/bin/llc x.ll -o - 
1.      Running pass 'X86 DAG->DAG Instruction Selection' on function '@foo'
Aborted

  define <3 x i32> @foo(<3 x i32> %x) {
    ret <3 x i32> %x
  }

$ llvm-commit/Debug/bin/llc x.ll -o -
        .file   "x.ll"
Return operand #2 has unhandled type i32UNREACHABLE executed at
CallingConvLower.cpp:93!
0   llc 0x08bd0635
1   llc 0x08bd0c01
2       0xffffe400 __kernel_sigreturn + 0
Stack dump:
0.      Program arguments: llvm-commit/Debug/bin/llc x.ll -o - 
1.      Running pass 'X86 DAG->DAG Instruction Selection' on function '@foo'
Aborted

This is on x86, not x86-64.


-- 
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