Displaying 1 result from an estimated 1 matches for "devclang".
Did you mean:
devang
2014 Sep 18
2
[LLVMdev] troubles with ISD::FPOWI
...he runtime.
I'm using gfortran + dragonegg + llvm3.4 to generate .ll files via plugin.
The fortran expression
REAL = REAL ** INTEGER*4
Resulting in:
%4 = call float @llvm.powi.f32(float %1, i32 %3)
So far, not unreasonable.
But when I run this through the compiler, it asserts:
-bash-4.1$ $DEVCLANG -target coge -O -S slamchf77.ll -mllvm -debug
...
Promote integer result: 0x56061c0: i32 = sub 0x56049a0, 0x56046a0 [ORD=161] [ID=0]
Promote integer operand: 0x56059c0: f32 = fpowi 0x5602580, 0x56061c0 [ORD=162] [ID=0]
PromoteIntegerOperand Op #1: 0x56059c0: f32 = fpowi 0x5602580, 0x56061c0 [ORD=...