[llvm-commits] Patch for pr11798: Emit _fltused during FastISel

Anton Korobeynikov anton at korobeynikov.info
Tue Feb 21 05:10:51 PST 2012


Joe,

> I believe the important case is printf("%f"), so going one layer deep
> should be sufficient. However, I'm not enough of a Windows expert to
> know if it's technically necessary in deeper case.
Well... Do you have vcpp in hand? You can check in which conditions
call to fltused is emitted.
Typical cases:
 1. Ordinary floating point operand
 2. float*
 3. struct { float }
 4. struct { float } *

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list