<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - arm: Assertion failed: (isReg() && "This is not a register operand!"), function getReg, file include/llvm/MC/MCInst.h, line 66."
   href="https://bugs.llvm.org/show_bug.cgi?id=32726">32726</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>arm: Assertion failed: (isReg() && "This is not a register operand!"), function getReg, file include/llvm/MC/MCInst.h, line 66.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>dimitry@andric.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This is an assertion somewhere in Firefox's webrtc code, reported in
<a href="https://bugs.freebsd.org/218782">https://bugs.freebsd.org/218782</a>, which occurs both in 4.0.0 and trunk 300422.

Reduced test case in C++:

// clang -cc1 -triple arm-- -S webrtc-minimized.cpp
class A {
  int m_fn1();
  enum { kNumProbs = 12 };
  static const unsigned short prob_uw16_[];
};
const unsigned short A::prob_uw16_[] = {205, 410};
char ProcessFrame_quant_uw8[4];
int ProcessFrame_prob_idx_uw32, ProcessFrame_width;
int A::m_fn1() {
  int y_sub_size = ProcessFrame_width;
  unsigned char *y_sorted = new unsigned char;
  if (ProcessFrame_width)
    for (int i = 0; i < kNumProbs; i++) {
      ProcessFrame_prob_idx_uw32 = y_sub_size * prob_uw16_[i];
      ProcessFrame_quant_uw8[i] = y_sorted[ProcessFrame_prob_idx_uw32];
    }
  for (;;)
    ;
}</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>