<html>
    <head>
      <base href="https://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 --- - PowerPC backend hits "Inconsistency: def of vector reg not found in swap map!" assertion in PPCVSXSwapRemoval.cpp:613"
   href="https://llvm.org/bugs/show_bug.cgi?id=24546">24546</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>PowerPC backend hits "Inconsistency: def of vector reg not found in swap map!" assertion in PPCVSXSwapRemoval.cpp:613
          </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>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>Backend: PowerPC
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>anton@samba.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=14763" name="attach_14763" title="reduced testcase">attachment 14763</a> <a href="attachment.cgi?id=14763&action=edit" title="reduced testcase">[details]</a></span>
reduced testcase

# llc bugpoint-reduced-simplified.bc

llc: /home/anton/llvm/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp:613: void
{anonymous}::PPCVSXSwapRemoval::formWebs(): Assertion `SwapMap.find(DefMI) !=
SwapMap.end() && "Inconsistency: def of vector reg not found in swap map!"'
failed.
0  llc       0x000000001191fa20 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
+ 144
1  llc       0x0000000011920b80
2  llc       0x000000001191e3fc llvm::sys::RunSignalHandlers() + 124
3  llc       0x000000001191e6e4
4            0x00003fffb3890478 __kernel_sigtramp_rt64 + 0
5  libc.so.6 0x00003fffb338ef94 gsignal + 116
6  libc.so.6 0x00003fffb339189c abort + 748
7  libc.so.6 0x00003fffb3384964
8  libc.so.6 0x00003fffb3384a54 __assert_fail + 100
9  llc       0x0000000010b31a60
10 llc       0x0000000010b36d5c
11 llc       0x0000000011134368
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 280
12 llc       0x000000001186b4a8
llvm::FPPassManager::runOnFunction(llvm::Function&) + 760
13 llc       0x000000001186be2c
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 844
14 llc       0x000000001186c1fc llvm::legacy::PassManager::run(llvm::Module&) +
28
15 llc       0x000000001032a0b8
16 llc       0x00000000102ed238 main + 584
17 libc.so.6 0x00003fffb3373500
18 libc.so.6 0x00003fffb3373734 __libc_start_main + 180
Stack dump:
0.    Program arguments: /home/anton/llvm.install/bin/llc
bugpoint-reduced-simplified.bc 
1.    Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
2.    Running pass 'PowerPC VSX Swap Removal' on function '@_php_math_round'</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>