[llvm-bugs] [Bug 43509] New: [AVX512] ReplaceNodeResults: t48: v8i8 = any_extend t10 Do not know how to custom type legalize this operation!

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 30 09:39:31 PDT 2019


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

            Bug ID: 43509
           Summary: [AVX512] ReplaceNodeResults: t48: v8i8 = any_extend
                    t10 Do not know how to custom type legalize this
                    operation!
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: benny.kra at gmail.com
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
                    llvm-dev at redking.me.uk, spatel+llvm at rotateright.com

$ cat t.ll
define <8 x i8> @foo(<8 x float> %arg) local_unnamed_addr {
bb:
  %tmp = xor <8 x i8> zeroinitializer, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8
1, i8 1>
  %tmp1 = fcmp reassoc nsz contract ogt <8 x float> %arg, <float 8.000000e+00,
float 8.000000e+00, float 8.000000e+00, float 8.000000e+00, float 8.000000e+00,
float 8.000000e+00, float 8.000000e+00, float 8.000000e+00>
  %tmp2 = zext <8 x i1> %tmp1 to <8 x i8>
  %tmp3 = and <8 x i8> %tmp, %tmp2
  %tmp4 = fcmp reassoc nsz contract ogt <8 x float> zeroinitializer, %arg
  %tmp5 = or <8 x i1> zeroinitializer, %tmp4
  %tmp6 = zext <8 x i1> %tmp5 to <8 x i8>
  %tmp7 = and <8 x i8> %tmp3, %tmp6
  ret <8 x i8> %tmp7
}

$ llc -mcpu=skx < t.ll
ReplaceNodeResults: t48: v8i8 = any_extend t10
Do not know how to custom type legalize this operation!
UNREACHABLE executed at llvm/lib/Target/X86/X86ISelLowering.cpp:27696!

-- 
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/20190930/3cc719c7/attachment.html>


More information about the llvm-bugs mailing list