http://llvm.org/bugs/show_bug.cgi?id=16324
Bug ID: 16324
Summary: AVX issues / 'X86 DAG->DAG Instruction Selection' /
core dumped
Product: libraries
Version: trunk
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: release blocker
Priority: P
Component: Backend: X86
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
# issue, same with llvm 3.2 and 3.4 (shown below)
[bulldozer] ~/np/proj/largewords> llc largewords.ll
Stack dump:
0. Program arguments: llc largewords.ll
1. Running pass 'Function Pass Manager' on module 'largewords.ll'.
2. Running pass 'X86 DAG->DAG Instruction Selection' on function '@main'
Bus error (core dumped)
# source file to reproduce:
[bulldozer] ~/np/proj/largewords> cat largewords.ll
define i32 @main(i32 %argc, i8** %argv)
{
%1 = zext i32 %argc to i256
%2 = mul i256 123987129387892374987129837, %1
%3 = add i256 5444517870735015415413993718908291383296, %2
%4 = trunc i256 %3 to i32
ret i32 %4
}
# rest is system information, attached is a the core file
[bulldozer] ~/np/proj/largewords> uname -a
FreeBSD bulldozer.local 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29
18:27:25 UTC 2013
[email protected]:/usr/obj/usr/src/sys/GENERIC amd64
[bulldozer] ~/np/proj/largewords> llc --version
LLVM (http://llvm.org/):
LLVM version 3.4svn
Optimized build.
Built Jun 1 2013 (09:33:05).
Default target: amd64-portbld-freebsd9.1
Host CPU: bdver1
Registered Targets:
aarch64 - AArch64
arm - ARM
cpp - C++ backend
hexagon - Hexagon
mblaze - MBlaze
mips - Mips
mips64 - Mips64 [experimental]
mips64el - Mips64el [experimental]
mipsel - Mipsel
msp430 - MSP430 [experimental]
nvptx - NVIDIA PTX 32-bit
nvptx64 - NVIDIA PTX 64-bit
ppc32 - PowerPC 32
ppc64 - PowerPC 64
sparc - Sparc
sparcv9 - Sparc V9
systemz - SystemZ
thumb - Thumb
x86 - 32-bit X86: Pentium-Pro and above
x86-64 - 64-bit X86: EM64T and AMD64
xcore - XCore
--
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