[llvm-bugs] [Bug 25518] New: [AVX-512] llc generates incorrect code

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 13 04:10:34 PST 2015


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

            Bug ID: 25518
           Summary: [AVX-512] llc generates incorrect code
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: llc
          Assignee: unassignedbugs at nondot.org
          Reporter: Vsevolod.Livinskij at frtk.ru
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15285
  --> https://llvm.org/bugs/attachment.cgi?id=15285&action=edit
Reproducer.

llc produces incorrect code

Compile with clang++ func.cpp -std=c++11 -march=knl -O3 -c

fatal error: error in backend: Cannot select: 0x4b4acd0: v4i64 = bitcast
0x4b232d0
  0x4b232d0: v8i64,ch = load<LD16[bitcast (i16* getelementptr inbounds ([6641 x
i16], [6641 x i16]* @in_lp6_5, i64 0, i64 226) to <8 x
i16>*)](align=4)(tbaa=<0x49e66c8>), sext from v8i16> 0x4b1ed50, 0x4b4c700,
undef:i64
    0x4b4c700: i64 = X86ISD::Wrapper TargetGlobalAddress:i64<[6641 x i16]*
@in_lp6_5> + 452
      0x4b1f050: i64 = TargetGlobalAddress<[6641 x i16]* @in_lp6_5> + 452
    0x4b12cf0: i64 = undef
In function: _Z3foov
clang-3.8: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 3.8.0 (trunk 251403)
Target: x86_64-unknown-linux-gnu
Thread model: posix

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151113/b7630cb5/attachment.html>


More information about the llvm-bugs mailing list