<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Assertion in X86 backend when multiplying two i192 values"
   href="http://llvm.org/bugs/show_bug.cgi?id=19797">19797</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion in X86 backend when multiplying two i192 values
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: X86
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>juergen@apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>