[LLVMdev] Help!!!!Help!!!! " LLVM ERROR: Cannot select: 0x9fc9680: i32 = fp32_to_fp16 0x9fc0750 [ID=16] " problem!!!!!!!!!!!!!!!!!!

Renato Golin renato.golin at linaro.org
Wed Jul 9 01:39:41 PDT 2014


On 9 July 2014 23:30, yalong at multicorewareinc.com
<yalong at multicorewareinc.com> wrote:
>     If I use fptrunc and bitcast realise NEON vcvtt ( I can sure, "fptrunc
> double %tmp to float" is right, but "fptrunc float %tmp to half" is wrong).
> My target platform is MIPS.

AFAIK, MIPS doesn't support NEON. But that doesn't explain your
problem, which is probably due to hand-crafted IR.

Can you provide the full IR, with header and everything? Also the
command line that you're using with the LLVM tool you're using to
compile (llc?lli?).

It'd also be good to know how you generated that IR in the frist
place. Was it a tool? A front-end? Hand-crafted?

cheers,
--renato



More information about the llvm-dev mailing list