Skip to content
  1. Aug 30, 2013
    • Eli Friedman's avatar
      Change default # of digits for APFloat::toString · e72f1320
      Eli Friedman authored
      This is a re-commit of r189442; I'll follow up with clang changes.
      
      The previous default was almost, but not quite enough digits to
      represent a floating-point value in a manner which preserves the
      representation when it's read back in.  The larger default is much
      less confusing.
      
      I spent some time looking into printing exactly the right number of
      digits if a precision isn't specified, but it's kind of complicated,
      and I'm not really sure I understand what APFloat::toString is supposed
      to output for FormatPrecision != 0 (or maybe the current API specification
      is just silly, not sure which).  I have a WIP patch if anyone is interested.
      
      llvm-svn: 189624
      e72f1320
    • Manman Ren's avatar
      DIBuilder: retain a type when created with a unique identifier. · 0b410407
      Manman Ren authored
      createClassType, createStructType, createUnionType, createEnumerationType,
      and createForwardDecl will retain a type when created with a unique identifier,
      to make sure they are treated as used even when all uses are replaced with
      the identifiers.
      
      Use TrackingVH<MDNode> instead of MDNode in AllRetainTypes, since the created
      node can later be updated.
      
      The change will be tested when clients of DIBuilder start to pass in non-empty
      unique identifier.
      
      llvm-svn: 189621
      0b410407
    • Jim Grosbach's avatar
      ARM: Improve pattern for isel mul of vector by scalar. · 04cc76dd
      Jim Grosbach authored
      In addition to recognizing when the multiply's second argument is
      coming from an explicit VDUPLANE, also look for a plain scalar
      f32 reference and reference it via the corresponding vector
      lane.
      
      rdar://14870054
      
      llvm-svn: 189619
      04cc76dd
  2. Aug 29, 2013
  3. Aug 28, 2013
Loading