<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 --- - error in backend: Cannot select: masked_gather"
   href="https://llvm.org/bugs/show_bug.cgi?id=30690">30690</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>error in backend: Cannot select: masked_gather
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

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

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

        <tr>
          <th>Reporter</th>
          <td>Roland.Schulz@Intel.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=17439" name="attach_17439" title="preprocessed input">attachment 17439</a> <a href="attachment.cgi?id=17439&action=edit" title="preprocessed input">[details]</a></span>
preprocessed input

While compiling GROMACS for Xeon Phi (KNL) I get. It fails the same with both
with 3.9 as well as trunk.
FAILED: /home/schulzro/tools/clang+llvm-3.9.0-x86_64-fedora23/bin/clang++  
-DGMX_DOUBLE=0 -DHAVE_CONFIG_H -isystem ../src/external/lmfit -Isrc
-I../src/external/thread_mpi/include -I../src -Isrc/external/tng_io/include
-I../src/external/tng_io/include -mavx512er -mfma    -std=c++0x  -Wdeprecated
-Wextra -Wno-missing-field-initializers -Wpointer-arith -Wall
-Wno-unused-function  -O3 -DNDEBUG     -fopenmp=libomp -MMD -MT
src/gromacs/CMakeFiles/libgromacs.dir/gmxana/gmx_do_dssp.cpp.o -MF
src/gromacs/CMakeFiles/libgromacs.dir/gmxana/gmx_do_dssp.cpp.o.d -o
src/gromacs/CMakeFiles/libgromacs.dir/gmxana/gmx_do_dssp.cpp.o -c
../src/gromacs/gmxana/gmx_do_dssp.cpp
fatal error: error in backend: Cannot select: 0x7559620: v16i32,ch =
masked_gather<LD64[%147](align=4)(tbaa=<0x72c27c8>)> 0x7559e70, undef:v16i32,
0x755b6b0, 0x755a110, 0x7559cb0
  0x755b870: v16i32 = undef
  0x755b6b0: v16i1 = BUILD_VECTOR TargetConstant:i1<-1>, TargetConstant:i1<-1>,
TargetConstant:i1<-1>, TargetConstant:i1<-1>, TargetConstant:i1<-1>,
TargetConstant:i1<-1>, TargetConstant:i1<-1>, TargetConstant:i1<-1>,
TargetConstant:i1<-1>, TargetConstant:i1<-1>, TargetConstant:i1<-1>,
TargetConstant:i1<-1>, TargetConstant:i1<-1>, TargetConstant:i1<-1>,
TargetConstant:i1<-1>, TargetConstant:i1<-1>
    0x755fc90: i1 = TargetConstant<-1>
    0x755fc90: i1 = TargetConstant<-1>
    0x755fc90: i1 = TargetConstant<-1>
    0x755fc90: i1 = TargetConstant<-1>
    0x755fc90: i1 = TargetConstant<-1>
    0x755fc90: i1 = TargetConstant<-1>
    0x755fc90: i1 = TargetConstant<-1>
    0x755fc90: i1 = TargetConstant<-1>
    0x755fc90: i1 = TargetConstant<-1>
    0x755fc90: i1 = TargetConstant<-1>
    0x755fc90: i1 = TargetConstant<-1>
    0x755fc90: i1 = TargetConstant<-1>
    0x755fc90: i1 = TargetConstant<-1>
    0x755fc90: i1 = TargetConstant<-1>
    0x755fc90: i1 = TargetConstant<-1>
    0x755fc90: i1 = TargetConstant<-1>
  0x755a110: i64,ch = CopyFromReg 0x74649e0, Register:i64 %vreg1
    0x7559a10: i64 = Register %vreg1
  0x7559cb0: v16i16 = bitcast 0x7559fc0
    0x7559fc0: v4i64,ch = load<LD32[%195](align=2)(tbaa=<0x72c4d58>)>
0x7559e70, 0x7559a80, undef:i64
      0x7559a80: i64 = add 0x755c1a0, Constant:i64<96>
        0x755c1a0: i64 = add 0x755a180, 0x755bcd0
          0x755a180: i64,ch = CopyFromReg 0x74649e0, Register:i64 %vreg40
            0x755bdb0: i64 = Register %vreg40
          0x755bcd0: i64 = shl 0x755b8e0, Constant:i8<1>
            0x755b8e0: i64,ch = CopyFromReg 0x74649e0, Register:i64 %vreg42
              0x755c520: i64 = Register %vreg42
            0x755bc60: i8 = Constant<1>
        0x755bbf0: i64 = Constant<96>
      0x75598c0: i64 = undef
In function: _Z15prune_ss_legendP8t_matrix
clang-3.9: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 3.9.0 (tags/RELEASE_390/final)
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>