[llvm-bugs] [Bug 32511] New: Inline ASM: Assertion `DAG.getTargetLoweringInfo().isTypeLegal(PartVT) && "Copying to an illegal type" failed

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 3 13:45:24 PDT 2017


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

            Bug ID: 32511
           Summary: Inline ASM: Assertion
                    `DAG.getTargetLoweringInfo().isTypeLegal(PartVT) &&
                    "Copying to an illegal type" failed
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: davide at freebsd.org
                CC: llvm-bugs at lists.llvm.org

$ ./llc blah.ll
llc: ../lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:392: void
getCopyToParts(llvm::SelectionDAG &, const llvm::SDLoc &, llvm::SDValue,
llvm::SDValue *, unsigned int, llvm::MVT, const llvm::Value *, ISD::NodeType):
Assertion `DAG.getTargetLoweringInfo().isTypeLegal(PartVT) && "Copying to an
illegal type!"' failed.

$ cat blah.ll
target triple = "aarch64-none-linux-gnu"
define void @tinkywinky(i64 %dipsy) #0 {
  call void asm "", "{v15}"(i64 %dipsy)
  ret void
}

attributes #0 = { "target-features"="-fp-armv8" }

-- 
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/20170403/778f7196/attachment.html>


More information about the llvm-bugs mailing list