Displaying 1 result from an estimated 1 matches for "gettypeconversion".
2013 Jul 30
1
[LLVMdev] using f32 in a 64bit integer only architecture
Hi,
I am working on a 64bit architecture where only 'i64' is valid (no hardware floating point support)
and I am triggering a 'Promote may not follow Expand or Promote' assertion failure.
(TargetLowering.h : getTypeConversion)
When I look into it, I see that the conversion fails because llvm tries to convert a 'f32'
into a 'i32' through a TypeSoftenFloat.
As i32 needs promotion to i64, this assertion is triggered.
The other way around: a 32bit architecture (only i32 is valid) with doubles (f64)
seems...