[LLVMbugs] [Bug 6173] New: SIMD code causes segfault in LLI, runs fine native on linux /x86

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jan 29 10:32:48 PST 2010


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

           Summary: SIMD code causes segfault in LLI, runs fine native on
                    linux/x86
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: maililistaalterego at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4139)
 --> (http://llvm.org/bugs/attachment.cgi?id=4139)
Test case .ll

I was experimenting with LLVM by hand writing .ll files. I was hacking with
arrays of SIMD vectors when I stumbled into a bug that causes LLI to segfault
but the code runs fine when I make a native executable.

$ llvm-as testcase.ll
$ lli testcase.bc 
Stack dump:
0.      Program arguments: ../oss/llvm/build/bin/lli testcase.bc 
Segmentation fault
$ llvm-ld -native -o testcase testcase.bc
$ ./testcase # runs fine

I also tried an older version of LLI, which did not segfault like the one from
LLVM trunk (r94421). The old, working lli version is:
Low Level Virtual Machine (http://llvm.org/):
  llvm version 2.5 (Debian 2.5-0ubuntu1)
  Optimized build with assertions.
  Built Mar  6 2009(17:11:47).


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