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

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 12 14:34:56 PDT 2017


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

            Bug ID: 34933
           Summary: Assertion
                    `DAG.getTargetLoweringInfo().isTypeLegal(PartVT) &&
                    "Copying to an illegal type!"' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: davide at freebsd.org
                CC: echristo at gmail.com, llvm-bugs at lists.llvm.org,
                    matze at braunis.de, qcolombet at apple.com,
                    rafael.espindola at gmail.com,
                    simon.f.whittaker at gmail.com

target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
target triple = "aarch64-linux-unknown"

; Function Attrs: noinline nounwind optnone readnone
define double @ceil(double %x) #0 {
entry:
  %x.addr = alloca double, align 8
  store double %x, double* %x.addr, align 8
  %tmp = load double, double* %x.addr, align 8
  %tmp1 = call double asm "frintp ${0:d}, ${1:d}", "=w,w"(double %tmp) #1,
!srcloc !2
  store double %tmp1, double* %x.addr, align 8
  %tmp2 = load double, double* %x.addr, align 8
  ret double %tmp2
}

attributes #0 = { noinline nounwind optnone readnone
"correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false"
"less-precise-fpmad"="false" "no-frame-pointer-elim"="true"
"no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false"
"no-jump-tables"="false" "no-nans-fp-math"="false"
"no-signed-zeros-fp-math"="false" "no-trapping-math"="false"
"stack-protector-buffer-size"="8" "target-cpu"="cortex-a53"
"target-features"="-crypto,-fp-armv8,-neon" "unsafe-fp-math"="false"
"use-soft-float"="false" }
attributes #1 = { nounwind readnone }

!llvm.module.flags = !{!0}
!llvm.ident = !{!1}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{!"clang version 6.0.0 (trunk 314683) (llvm/trunk 314685)"}
!2 = !{i32 42}

Run with llc

-- 
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/20171012/4b0e14fb/attachment.html>


More information about the llvm-bugs mailing list