<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 --- - Assertion failed:"Operand types in binary constant expression should match""
   href="https://llvm.org/bugs/show_bug.cgi?id=28262">28262</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion failed:"Operand types in binary constant expression should match"
          </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>Windows NT
          </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>LLVM Codegen
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>pierregousseau14@gmail.com
          </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=16625" name="attach_16625" title="reproducible source file">attachment 16625</a> <a href="attachment.cgi?id=16625&action=edit" title="reproducible source file">[details]</a></span>
reproducible source file

clang version 3.9.0
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\git\llvm\build\Debug\bin

SVN r273154 (20 June 2016).

$ clang -cc1 -std=c++11 "-triple" "x86_64-unknown-unknown" "-O2" -emit-llvm
reduced.cpp

Assertion failed: C1->getType() == C2->getType() && "Operand types in binary
constant expression should match", file C:\git\llvm\lib\IR\Constants.cpp, line
1740

The regression seems to have been caused by r270478.

The assertion is triggered during the loop unrolling phase.</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>