[LLVMbugs] [Bug 15632] New: PPC64: UNREACHABLE executed in LegalizeFloatTypes.cpp because of PPC128 float

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 31 17:06:40 PDT 2013


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

            Bug ID: 15632
           Summary: PPC64: UNREACHABLE executed in LegalizeFloatTypes.cpp
                    because of PPC128 float
           Product: libraries
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: kai at redstar.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The attached .ll file triggers the following assertion:

ExpandFloatResult #0: 0x10033073580: ppcf128 = frem 0x10033073480,
0x10033073480 [ORD=1] [ID=0]

Do not know how to expand the result of this operator!
UNREACHABLE executed at
/home/u0012540/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp:786!
0  llc       0x000000001169ce5c llvm::sys::PrintStackTrace(_IO_FILE*) +
4285864140
1  llc       0x000000001169d1b4
2  llc       0x000000001169c938
3            0x00000fff82800418 __kernel_sigtramp_rt64 + 0
4  libc.so.6 0x00000080e7bc6ef8 abort + 4293479848
5  llc       0x000000001163f1a0 llvm::llvm_unreachable_internal(char const*,
char const*, unsigned int) + 4285506352
6  llc       0x0000000010d6776c
7  llc       0x0000000010d31dcc
8  llc       0x0000000010d37ccc llvm::SelectionDAG::LegalizeTypes() +
4276727724
9  llc       0x0000000010ccabac llvm::SelectionDAGISel::CodeGenAndEmitDAG() +
4276298972
10 llc       0x0000000010cca284
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 4276296676
11 llc       0x0000000010ccd940
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) +
4276310464
12 llc       0x0000000010cc956c
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) +
4276293340
13 llc       0x00000000107efbcc
14 llc       0x0000000010f16aec
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 4278569036
15 llc       0x000000001150e658
llvm::FPPassManager::runOnFunction(llvm::Function&) + 4284363688
16 llc       0x000000001150e8bc llvm::FPPassManager::runOnModule(llvm::Module&)
+ 4284364284
17 llc       0x000000001150eed0 llvm::MPPassManager::runOnModule(llvm::Module&)
+ 4284365792
18 llc       0x000000001150f808 llvm::PassManagerImpl::run(llvm::Module&) +
4284368056
19 llc       0x000000001150fc24 llvm::PassManager::run(llvm::Module&) +
4284368932
20 llc       0x0000000010410a08
21 llc       0x000000001040f980 main + 4267665040
22 libc.so.6 0x00000080e7babcf8
23 libc.so.6 0x00000080e7babef0 __libc_start_main + 4293374496
Stack dump:
0.      Program arguments: llc -O0 b.ll
1.      Running pass 'Function Pass Manager' on module 'b.ll'.
2.      Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on
function '@bug'
Aborted (core dumped)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130401/5bc7e5a6/attachment.html>


More information about the llvm-bugs mailing list