[llvm-bugs] [Bug 28961] New: Cannot select VZEXT_MOVL under AVX512

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 12 17:22:32 PDT 2016


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

            Bug ID: 28961
           Summary: Cannot select VZEXT_MOVL under AVX512
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: mkuper at google.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Reducted testcase:
===
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

define fastcc void @foo() {
entry:
  %l = load <8 x i64>, <8 x i64>* undef, align 8
  %s = shufflevector <8 x i64> <i64 undef, i64 0, i64 0, i64 0, i64 0, i64 0,
i64 0, i64 0>, <8 x i64> %l, <8 x i32> <i32 8, i32 1, i32 2, i32 3, i32 4, i32
5, i32 6, i32 7>
  br label %loop

loop:
  %p = phi <8 x i64> [ %s, %entry ], [ %b, %loop ]
  %b = xor <8 x i64> undef, %p
  br i1 false, label %end, label %loop

end:
  %x = xor <8 x i64> undef, %b
  ret void
}
===
llc -mattr=+avx512f errors out:

LLVM ERROR: Cannot select: 0x3a3f350: v8i64 = X86ISD::VZEXT_MOVL 0x3a3f120
  0x3a3f120: v8i64,ch = load<LD64[undef](align=8)> 0x39d76e0, undef:i64,
undef:i64
    0x3a3f040: i64 = undef
    0x3a3f040: i64 = undef

-- 
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/20160813/150f9a25/attachment.html>


More information about the llvm-bugs mailing list