spi_get_float.mir.zip
uni import -f spi_get_float spi_get_float.mir -o spi_get_float.uni --target=X86 --explicitcallreg --maxblocksize=25 --goal=speed --copyremat --lint
consistentOperands: in operation o17, the inferred width of temporary t13 (8) is inconsistent with corresponding register class (RegisterClass FR64) given in the target description
The culprit operation is:
o17: [t20] <- VCVTSI2SD64rm [t19,t13,8,t18,-8,_] (mem: 0)
which indeed expects an FR64 operand. Had the code been:
o17: [t20] <- Int_VCVTSI2SD64rm [t19,t13,8,t18,-8,_] (mem: 0)
then everything would have been fine. Does llc print the wrong instruction?
spi_get_float.mir.zip
The culprit operation is:
which indeed expects an
FR64operand. Had the code been:then everything would have been fine. Does
llcprint the wrong instruction?