[LLVMbugs] [Bug 3934] New: Assertion failed: (isNew && "Can' t map to two src physical registers!"), function ProcessCopy
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Apr 4 05:33:14 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=3934
Summary: Assertion failed: (isNew && "Can't map to two src
physical registers!"), function ProcessCopy
Product: libraries
Version: trunk
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: ed at 80386.nl
CC: llvmbugs at cs.uiuc.edu
Blocks: 3696
Created an attachment (id=2782)
--> (http://llvm.org/bugs/attachment.cgi?id=2782)
Testcase
When compiling the attached code with Clang on AMD64 with at least -O1 enabled,
I'm seeing the following failed assertion:
Assertion failed: (isNew && "Can't map to two src physical registers!"),
function ProcessCopy, file .../llvm/lib/CodeGen/TwoAddressInstructionPass.cpp,
line 591.
Stack dump:
0. Program arguments: /usr/bin/../libexec/clang-cc -triple
x86_64-undermydesk-freebsd8.0 -S -disable-free --relocation-model static
--disable-fp-elim --unwind-tables=1 --fmath-errno=1 -O1 -o /tmp/cc-9EhLJ2.s -x
c /home/ed/llvm-crash.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Two-Address instruction pass' on function '@__bswap16'
When passing -O2, the following crash is observed:
Assertion failed: (isNew && "Can't map to two src physical registers!"),
function ProcessCopy, file .../llvm/lib/CodeGen/TwoAddressInstructionPass.cpp,
line 591.
Stack dump:
0. Program arguments: /usr/bin/../libexec/clang-cc -triple
x86_64-undermydesk-freebsd8.0 -S -disable-free --relocation-model static
--disable-fp-elim --unwind-tables=1 --fmath-errno=1 -O2 -o /tmp/cc-PZNza1.s -x
c /home/ed/llvm-crash.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Two-Address instruction pass' on function
'@config_get_hosts'
This prevents the FreeBSD source tree from being built.
--
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