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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs