<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 --- - unsigned int llvm::CCValAssign::getLocMemOffset() const: Assertion `isMemLoc()' failed."
   href="http://llvm.org/bugs/show_bug.cgi?id=20434">20434</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>unsigned int llvm::CCValAssign::getLocMemOffset() const: Assertion `isMemLoc()' failed.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>ismail@donmez.ws
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>david.majnemer@gmail.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I was playing around with llc and 

[/havana/obs/clang/llvm-clang-head/llvm]> llc -mtriple=x86_64-pc-windows-msvc
test/CodeGen/X86/musttail-indirect.ll
llc: ../include/llvm/CodeGen/CallingConvLower.h:141: unsigned int
llvm::CCValAssign::getLocMemOffset() const: Assertion `isMemLoc()' failed.
0  libLLVMSupport.so      0x00007f96de221385
llvm::sys::PrintStackTrace(_IO_FILE*) + 37
1  libLLVMSupport.so      0x00007f96de221b83
2  libc.so.6              0x00007f96dd69a8d0
3  libc.so.6              0x00007f96dd69a849 gsignal + 57
4  libc.so.6              0x00007f96dd69bcd8 abort + 328
5  libc.so.6              0x00007f96dd693616
6  libc.so.6              0x00007f96dd6936c2
7  libLLVMX86CodeGen.so   0x00007f96e0a64b87
llvm::X86TargetLowering::LowerCall(llvm::TargetLowering::CallLoweringInfo&,
llvm::SmallVectorImpl<llvm::SDValue>&) const + 11063
8  libLLVMSelectionDAG.so 0x00007f96de5cb65e
llvm::TargetLowering::LowerCallTo(llvm::TargetLowering::CallLoweringInfo&)
const + 3918
9  libLLVMSelectionDAG.so 0x00007f96de5b6a67
llvm::SelectionDAGBuilder::LowerCallTo(llvm::ImmutableCallSite, llvm::SDValue,
bool, llvm::MachineBasicBlock*) + 1527
10 libLLVMSelectionDAG.so 0x00007f96de5a7ae2
llvm::SelectionDAGBuilder::visitCall(llvm::CallInst const&) + 1362
11 libLLVMSelectionDAG.so 0x00007f96de5a0386
llvm::SelectionDAGBuilder::visit(llvm::Instruction const&) + 70
12 libLLVMSelectionDAG.so 0x00007f96de5e56f8
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 40
13 libLLVMSelectionDAG.so 0x00007f96de5e4cc8
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 8184
14 libLLVMSelectionDAG.so 0x00007f96de5e1dd6
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 1366
15 libLLVMX86CodeGen.so   0x00007f96e0a498a6
16 libLLVMCodeGen.so      0x00007f96df5e72ec
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 124
17 libLLVMCore.so         0x00007f96df1d8d9b
llvm::FPPassManager::runOnFunction(llvm::Function&) + 539
18 libLLVMCore.so         0x00007f96df1d900b
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
19 libLLVMCore.so         0x00007f96df1d9536
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 886
20 llc                    0x000000000040fc7b main + 6587
21 libc.so.6              0x00007f96dd686be5 __libc_start_main + 245
22 llc                    0x000000000040d3e9
Stack dump:
0.    Program arguments: llc -o - -mtriple=x86_64-pc-windows-msvc
test/CodeGen/X86/musttail-indirect.ll 
1.    Running pass 'Function Pass Manager' on module
'test/CodeGen/X86/musttail-indirect.ll'.
2.    Running pass 'X86 DAG->DAG Instruction Selection' on function '@g_thunk'
[1]    16861 abort      llc -o - -mtriple=x86_64-pc-windows-msvc
test/CodeGen/X86/musttail-indirect.l</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>