https://llvm.org/bugs/show_bug.cgi?id=30690

            Bug ID: 30690
           Summary: error in backend: Cannot select: masked_gather
           Product: new-bugs
           Version: 3.9
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: roland.sch...@intel.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

Created attachment 17439
  --> https://llvm.org/bugs/attachment.cgi?id=17439&action=edit
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to