Skip to content
  1. Mar 29, 2013
    • Michael Liao's avatar
      Add support of RDSEED defined in AVX2 extension · a486a11d
      Michael Liao authored
      llvm-svn: 178314
      a486a11d
    • Fariborz Jahanian's avatar
      Objective-C: Produce precise diagnostic when · 3b602ce5
      Fariborz Jahanian authored
      'isa' ivar is accessed provided it is the first
      ivar. Fixit hint will follow in another patch.
      This is continuation of // rdar://13503456
      
      llvm-svn: 178313
      3b602ce5
    • Michael Liao's avatar
      Enhance boolean simplification to handle 16-/64-bit RDRAND · 5fff5c7b
      Michael Liao authored
      - RDRAND always clears the destination value when a random value is not
        available (i.e. CF == 0). This value is truncated or zero-extended as
        the false boolean value to be returned. Boolean simplification needs
        to skip this 'zext' or 'trunc' node.
      
      llvm-svn: 178312
      5fff5c7b
    • Anna Zaks's avatar
      [analyzer] Document existence of ConstPointerEscape. · 4b04e66c
      Anna Zaks authored
      llvm-svn: 178311
      4b04e66c
    • Anna Zaks's avatar
      [analyzer] Add support for escape of const pointers and use it to allow “newed” pointers to escape · 333481b9
      Anna Zaks authored
      Add a new callback that notifies checkers when a const pointer escapes. Currently, this only works
      for const pointers passed as a top level parameter into a function. We need to differentiate the const
      pointers escape from regular escape since the content pointed by const pointer will not change;
      if it’s a file handle, a file cannot be closed; but delete is allowed on const pointers.
      
      This should suppress several false positives reported by the NewDelete checker on llvm codebase.
      
      llvm-svn: 178310
      333481b9
    • Anna Zaks's avatar
      [analyzer] Apply the suppression rules to the nil receiver only if the value... · 05fb371e
      Anna Zaks authored
      [analyzer] Apply the suppression rules to the nil receiver only if the value participates in the computation of the nil we warn about.
      
      We should only suppress a bug report if the IDCed or null returned nil value is directly related to the value we are warning about. This was
      not the case for nil receivers - we would suppress a bug report that had an IDCed nil receiver on the path regardless of how it’s
      related to the warning.
      
      1) Thread EnableNullFPSuppression parameter through the visitors to differentiate between tracking the value which
      is directly responsible for the bug and other values that visitors are tracking (ex: general tracking of nil receivers).
      2) in trackNullOrUndef specifically address the case when a value of the message send is nil due to the receiver being nil.
      
      llvm-svn: 178309
      05fb371e
    • Michael Liao's avatar
      Skip moving call address loading into callseq when targets prefer register indirect call. · 96b42608
      Michael Liao authored
      To enable a load of a call address to be folded with that call, this
      load is moved from outside of callseq into callseq. Such a moving
      adds a non-glued node (that load) into a glued sequence. This non-glue
      load is only removed when DAG selection folds them into a memory form
      call instruction. When such instruction selection is disabled, it breaks
      DAG schedule.
      
      To prevent that, such moving is disabled when target favors register
      indirect call.
      
      Previous workaround disabling CALL32m/CALL64m insn selection is removed.
      
      llvm-svn: 178308
      96b42608
    • Reid Kleckner's avatar
      [ms-cxxabi] Add more tests for r178297 · 557a0352
      Reid Kleckner authored
      This covers a few cases where the class of a member pointer is not a
      CXXRecordDecl.
      
      llvm-svn: 178307
      557a0352
    • Michael Gottesman's avatar
      Removed dead code from ObjCARCOpts relating to tracking objc_retainBlocks... · ba64859e
      Michael Gottesman authored
      Removed dead code from ObjCARCOpts relating to tracking objc_retainBlocks through the ARC Dataflow analysis. By the time we get to the ARC dataflow analysis, any objc_retainBlock calls are not optimizable.
      
      llvm-svn: 178306
      ba64859e
    • Chad Rosier's avatar
      [fast-isel] Add a preemptive fix for the case where we fail to materialize an · dbac025d
      Chad Rosier authored
      immediate in a register.  I don't believe this should ever fail, but I see no
      harm in trying to make this code bullet proof.
      
      I've added an assert to ensure my assumtion is correct.  If the assertion fires
      something is wrong and we should fix it, rather then just silently fall back to
      SelectionDAG isel.
      
      llvm-svn: 178305
      dbac025d
    • Jack Carter's avatar
      [Mips Assembler] Add alias definitions for jal · e1d85d55
      Jack Carter authored
      Mips assembler allows following to be used as aliased instructions:
      jal $rs for jalr $rs
      jal $rd,$rd for jalr $rd,$rs
      
      This patch provides alias definitions in td files and test cases to show the usage.
      
      Contributer: Vladimir Medic
      llvm-svn: 178304
      e1d85d55
  2. Mar 28, 2013
Loading