Skip to content

Assertion `DAG.getTargetLoweringInfo().isTypeLegal(PartVT) && "Copying to an illegal type!"' failed. #34281

@llvmbot

Description

@llvmbot
Bugzilla Link 34933
Version trunk
OS All
Reporter LLVM Bugzilla Contributor
CC @echristo,@efriedma-quic,@MatzeB,@qcolombet

Extended Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend:AArch64bugzillaIssues migrated from bugzillacrashPrefer [crash-on-valid] or [crash-on-invalid]

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions