[llvm-bugs] [Bug 28877] New: Legalization failure for llvm.aarch64.neon.vcvtfp2fxs

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 5 15:41:47 PDT 2016


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

            Bug ID: 28877
           Summary: Legalization failure for llvm.aarch64.neon.vcvtfp2fxs
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: pirama at google.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16894
  --> https://llvm.org/bugs/attachment.cgi?id=16894&action=edit
Two sources and .sh to reproduce crash

ToT fails legalization for two files in Android (one in pdfium and another in
tiff).  The error is:
    fatal error: error in backend: Do not know how to split this operator's
operand!

In both cases, an llvm.aarch64.neon.vcvtfp2fxs node is involved.

One of the files throws an assert in ReplaceAllUsesWith:
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:6308: void
llvm::SelectionDAG::ReplaceAllUsesWith(llvm::SDNode*, llvm:
:SDNode*): Assertion `(!From->hasAnyUseOfValue(i) || From->getValueType(i) ==
To->getValueType(i)) && "Cannot use this version of ReplaceAllUsesWith!"' f
ailed.


Source and .sh files to reproduce crash are attached.

-- 
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/20160805/bfbb145d/attachment.html>


More information about the llvm-bugs mailing list