[LLVMbugs] [Bug 19797] New: Assertion in X86 backend when multiplying two i192 values

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 19 14:37:08 PDT 2014


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

            Bug ID: 19797
           Summary: Assertion in X86 backend when multiplying two i192
                    values
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: juergen at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The following simplified test case fails on X86 with an assertion:

define i192 @test(i192 %a, i192 %b) nounwind {
  %1 = mul i192 %a, %b
  ret i192 %1
}


    .section    __TEXT,__text,regular,pure_instructions
    .macosx_version_min 13, 2
Assertion failed: (LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported MUL!"),
function ExpandIntRes_MUL, file
/x/src/trunk/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp, line 1950.
0  llc                      0x00000001048736ae
llvm::sys::PrintStackTrace(__sFILE*) + 46
1  llc                      0x00000001048739bb
PrintStackTraceSignalHandler(void*) + 27
2  llc                      0x0000000104873d4c SignalHandler(int) + 412
3  libsystem_platform.dylib 0x00007fff957525aa _sigtramp + 26
4  llc                      0x0000000104251a35
llvm::IntegerType::classof(llvm::Type const*) + 21
5  llc                      0x00000001048739eb raise + 27
6  llc                      0x0000000104873aa2 abort + 18
7  llc                      0x0000000104873a81 __assert_rtn + 129
8  llc                      0x00000001045fbcc6
llvm::DAGTypeLegalizer::ExpandIntRes_MUL(llvm::SDNode*, llvm::SDValue&,
llvm::SDValue&) + 1110
9  llc                      0x00000001045f7168
llvm::DAGTypeLegalizer::ExpandIntegerResult(llvm::SDNode*, unsigned int) + 1400
10 llc                      0x0000000104610309 llvm::DAGTypeLegalizer::run() +
937
11 llc                      0x0000000104616102
llvm::SelectionDAG::LegalizeTypes() + 66
12 llc                      0x00000001047606ba
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 3466
13 llc                      0x000000010475f91d
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 253
14 llc                      0x000000010475f63b
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 5227
15 llc                      0x000000010475cf6c
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 1228
16 llc                      0x0000000103fb4a5e
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 110
17 llc                      0x00000001043a397b
llvm::FPPassManager::runOnFunction(llvm::Function&) + 427
18 llc                      0x00000001043a3c88
llvm::FPPassManager::runOnModule(llvm::Module&) + 104
19 llc                      0x00000001043a4694 (anonymous
namespace)::MPPassManager::runOnModule(llvm::Module&) + 1412
20 llc                      0x00000001043a3f3e
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 302
21 llc                      0x00000001043a4e11
llvm::legacy::PassManager::run(llvm::Module&) + 33
22 llc                      0x0000000103873f1a compileModule(char**,
llvm::LLVMContext&) + 7050
23 llc                      0x0000000103872322 main + 226
24 libdyld.dylib            0x00007fff921ae5fd start + 1

-- 
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/20140519/52b146d5/attachment.html>


More information about the llvm-bugs mailing list