[LLVMdev] PTX backend do not support sitofp instruction?

Duncan Sands baldrick at free.fr
Mon Sep 26 03:40:48 PDT 2011


On 09/26/11 12:11, 陳韋任 wrote:
>> Does PTX backend support llvm sitofp instruction?
>
>    Seems it doesn't support sitofp, search "Conversion
> to f32" in PTXInstrInfo.td.

IIRC, LegalizeDAG has some code to implement sitofp in terms of
uitofp (or maybe uitofp in terms of sitofp, I don't recall).

Ciao, Duncan.



More information about the llvm-dev mailing list