http://llvm.org/bugs/show_bug.cgi?id=8867
Summary: Attempting uitofp from integer constant to fp128
causes assertion failure in APFloat.cpp:120
Product: libraries
Version: 2.8
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Core LLVM classes
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
When I construct a ConstantInt (though I'm actually using the C bindings) using
the LLVM 2.8 release libraries and then proceed to construct a UIToFP cast
using LLVMBuildUIToFP(builder,value,FP128Ty,"cast"). This results in receiving
the following failed assertion:
/usr/src/llvm-2.8/lib/Support/APFloat.cpp:120: void assertArithmeticOK(const
llvm::fltSemantics&): Assertion `semantics.arithmeticOK && "Compile-time
arithmetic does not support these semantics"' failed.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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