[llvm-commits] Patch for pr11798: Emit _fltused during FastISel
Joe Groff
arcata at gmail.com
Tue Feb 21 12:02:32 PST 2012
On Tue, Feb 21, 2012 at 5:10 AM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
> 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 } *
It appears that VC generates a _fltused reference if a float type is
referenced in any context, even if the type isn't ever used as an
argument. Perhaps LLVM should be changed so that the "reference
_fltused" flag is enabled when a FloatType is instantiated, rather
than by checking CallInsts during instruction lowering. Is that a
sensible change?
-Joe
More information about the llvm-commits
mailing list