[llvm-bugs] [Bug 35932] New: [X86] Cannot select intrinsic FNMADD

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 12 11:07:41 PST 2018


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

            Bug ID: 35932
           Summary: [X86] Cannot select intrinsic FNMADD
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: eric.schweitz at pgroup.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 19668
  --> https://bugs.llvm.org/attachment.cgi?id=19668&action=edit
Intrinsic select problem

This example is reduced from a much larger code and demonstrates the cannot
select issue.  The original code has a 655 calls to llvm.x86.fma.vfmadd
intrinsics, and this one triggers the LLVM ERROR.

% llc bug.bc -o bug.o
LLVM ERROR: Cannot select: t34: v2f64 = X86ISD::FNMADDS1 undef:v2f64,
undef:v2f64, t35
  t2: v2f64 = undef
  t2: v2f64 = undef
  t35: v2f64 = scalar_to_vector t38
    t38: f64,ch = load<LD8[ConstantPool]> t0, t40, undef:i64
      t40: i64 = X86ISD::Wrapper TargetConstantPool:i64<double 1.000000e+00> 0
        t39: i64 = TargetConstantPool<double 1.000000e+00> 0
      t37: i64 = undef
In function: bughere_

-- 
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/20180112/4d026e4f/attachment.html>


More information about the llvm-bugs mailing list