<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 --- - Use of Thumb instructions in non-Thumb mode"
   href="http://llvm.org/bugs/show_bug.cgi?id=17180">17180</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Use of Thumb instructions in non-Thumb mode
          </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: ARM
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>sanxiyn@gmail.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>r189269 log message claims to fix "the Thumb pseudo tPICADD was used for both
ARM and Thumb mode functions, which is obviously wrong", but the commit
actually doesn't fix the bug. Opc = isThumb2() ? tPICADD : PICADD is
calculated, but not used at all.

Changing tPICADD to PICADD fixed my issue, but I am not sure of the proper fix.
Hopefully the proper fix is obvious to people familiar with the code.

I am sorry that I cannot provide the test case (reduced or otherwise) so that
you can reproduce the bug, but hopefully that also is obvious to people
familiar with the code.</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>