[LLVMbugs] [Bug 3472] New: GVN creates code that is rejected by llc

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Feb 3 10:11:12 PST 2009


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

           Summary: GVN creates code that is rejected by llc
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2493)
 --> (http://llvm.org/bugs/attachment.cgi?id=2493)
"opt -gvn | llc" to reproduce

Using SVN r63539:

This works:
/home/edwin/llvm-bootstrap/install/bin/llc bugpoint-tooptimize.bc -f

This doesn't:
/home/edwin/llvm-bootstrap/install/bin/opt -gvn
bugpoint-tooptimize.bc|/home/edwin/llvm-bootstrap/install/bin/llc
llc: /home/edwin/llvm-bootstrap/llvm/lib/Target/X86/X86FloatingPoint.cpp:985:
void<unnamed>::FPS::handleSpecialFP(llvm::ilist_iterator<llvm::MachineInstr>&):
Assertion `StackTop == 1 && "Stack should have one element on it to return!"'
failed.
0   llc       0x0000000000c84fbf
1   libc.so.6 0x00007f1181ae6f60
2   libc.so.6 0x00007f1181ae6ed5 gsignal + 53
3   libc.so.6 0x00007f1181ae83f3 abort + 387
4   libc.so.6 0x00007f1181adfdc9 __assert_fail + 233
5   llc       0x000000000077be36
6   llc       0x000000000077d8d9
7   llc       0x000000000077de43
8   llc       0x0000000000c2026b
llvm::FPPassManager::runOnFunction(llvm::Function&) + 347
9   llc       0x0000000000c20666
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 134
10  llc       0x0000000000c207ee
llvm::FunctionPassManager::run(llvm::Function&) + 62
11  llc       0x00000000004fe5d1 main + 4193
12  libc.so.6 0x00007f1181ad31a6 __libc_start_main + 230
13  llc       0x00000000004fcac9
Aborted


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