http://llvm.org/bugs/show_bug.cgi?id=19638
Bug ID: 19638
Summary: [ARM64] fatal error: error in backend: Cannot select:
0x7d713c0: f64 = ConstantFP<-0.000000e+00>
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: AArch64
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Reduced test case:
target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
target triple = "arm64-none-linux-gnu"
define double @test(double %a, double %b) {
entry:
%mul = fmul double %a, 0.000000e+00
%mul1 = fmul double %b, 0.000000e+00
%sub = fsub double %mul, %mul1
ret double %sub
}
Reproduce with:
llc -O3 -fp-contract=fast test.ll
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs