<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 --- - slp-vectorize-aggressive causing "Invalid Operands for Select""
   href="http://llvm.org/bugs/show_bug.cgi?id=20852">20852</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>slp-vectorize-aggressive causing "Invalid Operands for Select"
          </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>Loop Optimizer
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>ryan.osial@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>While compiling Firefox 32, found that -fslp-vectorize-aggressive caused an
error:

ryan@osnap-linux ~/projects/nobackup/llvm/git/llvm/build $
./Debug+Asserts/bin/clang++ /tmp/TiledContentClient.cpp  -c
-fslp-vectorize-aggressive -pipe -march=native  -fno-exceptions
-fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x
-pthread -pipe   -O2

../../dist/include/jspubtd.h:512:51: warning: offset of on non-standard-layout
type 'js::PerThreadDataFriendFields::RuntimeDummy' [-Winvalid-offsetof]
    static const size_t RuntimeMainThreadOffset =
__builtin_offsetof(RuntimeDummy, mainThread);

Invalid operands for select instruction!
  %.retval.sroa.6.12.vec.insert.i75 = select <2 x i1> %or.cond.i74, <4 x float>
zeroinitializer, <4 x float> %sub.i62

fatal error: error in backend: Broken function found, compilation aborted!
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)

clang version 3.6.0 (<a href="http://llvm.org/git/clang.git">http://llvm.org/git/clang.git</a>
77f909b268d79378221b4163112596afe177d177) (<a href="http://llvm.org/git/llvm.git">http://llvm.org/git/llvm.git</a>
b20b9bf9fd60ba1d769e33ff6680099473d59a7d)
Target: x86_64-unknown-linux-gnu
Thread model: posix</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>