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.